Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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 occ::handle< Adaptor2d_Curve2d > &A, const int NbSample, const double Pfirst, const double 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.
 
bool Closed () const override
 Returns True if the polyline is closed.
 
int NbPoints () const override
 
gp_Pnt2d Point (const int Index) const override
 
double Parameter (const int Index) const
 
void SetOffset (const double OffsetX, const double OffsetY)
 
- Public Member Functions inherited from IntPatch_Polygo
double Error () const
 
double DeflectionOverEstimation () const override
 Returns the tolerance of the polygon.
 
int NbSegments () const override
 Returns the number of Segments in the polyline.
 
void Segment (const int 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_Box2dBounding () const
 Returns the bounding box of the polygon.
 
virtual ~Intf_Polygon2d ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from IntPatch_Polygo
 IntPatch_Polygo (const double theError=0.0)
 
- Protected Attributes inherited from IntPatch_Polygo
double myError
 
- Protected Attributes inherited from Intf_Polygon2d
Bnd_Box2d myBox
 

Constructor & Destructor Documentation

◆ IntPatch_PolyArc()

IntPatch_PolyArc::IntPatch_PolyArc ( const occ::handle< Adaptor2d_Curve2d > & A,
const int NbSample,
const double Pfirst,
const double 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()

bool IntPatch_PolyArc::Closed ( ) const
overridevirtual

Returns True if the polyline is closed.

Reimplemented from Intf_Polygon2d.

◆ NbPoints()

int IntPatch_PolyArc::NbPoints ( ) const
overridevirtual

Implements IntPatch_Polygo.

◆ Parameter()

double IntPatch_PolyArc::Parameter ( const int Index) const

◆ Point()

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

Implements IntPatch_Polygo.

◆ SetOffset()

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

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