Open CASCADE Technology
7.2.0
|
#include <IntPatch_PolyArc.hxx>
Public Member Functions | |
IntPatch_PolyArc (const Handle< Adaptor2d_HCurve2d > &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. More... | |
virtual Standard_Boolean | Closed () const override |
Returns True if the polyline is closed. More... | |
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. More... | |
virtual Standard_Integer | NbSegments () const override |
Returns the number of Segments in the polyline. More... | |
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. More... | |
void | Dump () const |
Public Member Functions inherited from Intf_Polygon2d | |
const Bnd_Box2d & | Bounding () const |
Returns the bounding box of the polygon. More... | |
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_HCurve2d > & | 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 | ||
) |