Open CASCADE Technology 7.8.0
|
#include <IntPatch_PolyArc.hxx>
Public Member Functions | |
IntPatch_PolyArc (const Handle< Adaptor2d_Curve2d > &A, const Standard_Integer NbSample, const Standard_Real Pfirst, const Standard_Real Plast, const Bnd_Box2d &BoxOtherPolygon) | |
Creates the polygon of the arc A on the surface S. The arc is limited by the parameters Pfirst and Plast. None of these parameters can be infinite. | |
virtual Standard_Boolean | Closed () const override |
Returns True if the polyline is closed. | |
Standard_Integer | NbPoints () const override |
gp_Pnt2d | Point (const Standard_Integer Index) const override |
Standard_Real | Parameter (const Standard_Integer Index) const |
void | SetOffset (const Standard_Real OffsetX, const Standard_Real OffsetY) |
Public Member Functions inherited from IntPatch_Polygo | |
Standard_Real | Error () const |
virtual Standard_Real | DeflectionOverEstimation () const override |
Returns the tolerance of the polygon. | |
virtual Standard_Integer | NbSegments () const override |
Returns the number of Segments in the polyline. | |
virtual void | Segment (const Standard_Integer theIndex, gp_Pnt2d &theBegin, gp_Pnt2d &theEnd) const override |
Returns the points of the segment <Index> in the Polygon. | |
void | Dump () const |
Public Member Functions inherited from Intf_Polygon2d | |
const Bnd_Box2d & | Bounding () const |
Returns the bounding box of the polygon. | |
virtual | ~Intf_Polygon2d () |
Additional Inherited Members | |
Protected Member Functions inherited from IntPatch_Polygo | |
IntPatch_Polygo (const Standard_Real theError=0.0) | |
Protected Attributes inherited from IntPatch_Polygo | |
Standard_Real | myError |
Protected Attributes inherited from Intf_Polygon2d | |
Bnd_Box2d | myBox |
IntPatch_PolyArc::IntPatch_PolyArc | ( | const Handle< Adaptor2d_Curve2d > & | A, |
const Standard_Integer | NbSample, | ||
const Standard_Real | Pfirst, | ||
const Standard_Real | Plast, | ||
const Bnd_Box2d & | BoxOtherPolygon | ||
) |
Creates the polygon of the arc A on the surface S. The arc is limited by the parameters Pfirst and Plast. None of these parameters can be infinite.
|
overridevirtual |
Returns True if the polyline is closed.
Reimplemented from Intf_Polygon2d.
|
overridevirtual |
Implements IntPatch_Polygo.
Standard_Real IntPatch_PolyArc::Parameter | ( | const Standard_Integer | Index | ) | const |
|
overridevirtual |
Implements IntPatch_Polygo.
void IntPatch_PolyArc::SetOffset | ( | const Standard_Real | OffsetX, |
const Standard_Real | OffsetY | ||
) |