Open CASCADE Technology 7.8.0
Public Member Functions
HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter Class Reference

#include <HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter.hxx>

Inheritance diagram for HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter:
Inheritance graph
[legend]

Public Member Functions

 HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter (const Standard_Address &Curve, const Standard_Integer NbPnt, const IntRes2d_Domain &Domain, const Standard_Real Tol)
 Compute a polygon on the domain of the curve.
 
void ComputeWithBox (const Standard_Address &Curve, const Bnd_Box2d &OtherBox)
 The current polygon is modified if most of the points of the polygon are outside the box <OtherBox>. In this situation, bounds are computed to build a polygon inside or near the OtherBox.
 
virtual Standard_Real DeflectionOverEstimation () const override
 Returns the tolerance of the polygon.
 
void SetDeflectionOverEstimation (const Standard_Real x)
 
void Closed (const Standard_Boolean clos)
 
virtual Standard_Boolean Closed () const override
 Returns True if the polyline is closed.
 
virtual Standard_Integer NbSegments () const override
 Give 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.
 
Standard_Real InfParameter () const
 Returns the parameter (On the curve) of the first point of the Polygon.
 
Standard_Real SupParameter () const
 Returns the parameter (On the curve) of the last point of the Polygon.
 
Standard_Boolean AutoIntersectionIsPossible () const
 
Standard_Real ApproxParamOnCurve (const Standard_Integer Index, const Standard_Real ParamOnLine) const
 Give an approximation of the parameter on the curve according to the discretization of the Curve.
 
Standard_Integer CalculRegion (const Standard_Real x, const Standard_Real y, const Standard_Real x1, const Standard_Real x2, const Standard_Real y1, const Standard_Real y2) const
 
void Dump () const
 
- Public Member Functions inherited from Intf_Polygon2d
const Bnd_Box2dBounding () const
 Returns the bounding box of the polygon.
 
virtual ~Intf_Polygon2d ()
 

Additional Inherited Members

- Protected Attributes inherited from Intf_Polygon2d
Bnd_Box2d myBox
 

Constructor & Destructor Documentation

◆ HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter()

HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter::HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter ( const Standard_Address Curve,
const Standard_Integer  NbPnt,
const IntRes2d_Domain Domain,
const Standard_Real  Tol 
)

Compute a polygon on the domain of the curve.

Member Function Documentation

◆ ApproxParamOnCurve()

Standard_Real HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter::ApproxParamOnCurve ( const Standard_Integer  Index,
const Standard_Real  ParamOnLine 
) const

Give an approximation of the parameter on the curve according to the discretization of the Curve.

◆ AutoIntersectionIsPossible()

Standard_Boolean HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter::AutoIntersectionIsPossible ( ) const

◆ CalculRegion()

Standard_Integer HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter::CalculRegion ( const Standard_Real  x,
const Standard_Real  y,
const Standard_Real  x1,
const Standard_Real  x2,
const Standard_Real  y1,
const Standard_Real  y2 
) const

◆ Closed() [1/2]

virtual Standard_Boolean HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter::Closed ( ) const
inlineoverridevirtual

Returns True if the polyline is closed.

Reimplemented from Intf_Polygon2d.

◆ Closed() [2/2]

void HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter::Closed ( const Standard_Boolean  clos)

◆ ComputeWithBox()

void HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter::ComputeWithBox ( const Standard_Address Curve,
const Bnd_Box2d OtherBox 
)

The current polygon is modified if most of the points of the polygon are outside the box <OtherBox>. In this situation, bounds are computed to build a polygon inside or near the OtherBox.

◆ DeflectionOverEstimation()

virtual Standard_Real HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter::DeflectionOverEstimation ( ) const
overridevirtual

Returns the tolerance of the polygon.

Implements Intf_Polygon2d.

◆ Dump()

void HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter::Dump ( ) const

◆ InfParameter()

Standard_Real HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter::InfParameter ( ) const

Returns the parameter (On the curve) of the first point of the Polygon.

◆ NbSegments()

virtual Standard_Integer HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter::NbSegments ( ) const
overridevirtual

Give the number of Segments in the polyline.

Implements Intf_Polygon2d.

◆ Segment()

virtual void HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter::Segment ( const Standard_Integer  theIndex,
gp_Pnt2d theBegin,
gp_Pnt2d theEnd 
) const
overridevirtual

Returns the points of the segment <Index> in the Polygon.

Implements Intf_Polygon2d.

◆ SetDeflectionOverEstimation()

void HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter::SetDeflectionOverEstimation ( const Standard_Real  x)

◆ SupParameter()

Standard_Real HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter::SupParameter ( ) const

Returns the parameter (On the curve) of the last point of the Polygon.


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