Open CASCADE Technology  7.7.0
Public Member Functions
IntPatch_PolyArc Class Reference

#include <IntPatch_PolyArc.hxx>

Inheritance diagram for IntPatch_PolyArc:
Inheritance graph
[legend]

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. 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_Box2dBounding () 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
 

Constructor & Destructor Documentation

◆ IntPatch_PolyArc()

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.

Member Function Documentation

◆ Closed()

virtual Standard_Boolean IntPatch_PolyArc::Closed ( ) const
overridevirtual

Returns True if the polyline is closed.

Reimplemented from Intf_Polygon2d.

◆ NbPoints()

Standard_Integer IntPatch_PolyArc::NbPoints ( ) const
overridevirtual

Implements IntPatch_Polygo.

◆ Parameter()

Standard_Real IntPatch_PolyArc::Parameter ( const Standard_Integer  Index) const

◆ Point()

gp_Pnt2d IntPatch_PolyArc::Point ( const Standard_Integer  Index) const
overridevirtual

Implements IntPatch_Polygo.

◆ SetOffset()

void IntPatch_PolyArc::SetOffset ( const Standard_Real  OffsetX,
const Standard_Real  OffsetY 
)

The documentation for this class was generated from the following file: