CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | List of all members
FacetModeler::TContour2DImpl< TContourData > Class Template Reference

#include <FMImpTContour2D.h>

Inheritance diagram for FacetModeler::TContour2DImpl< TContourData >:
FacetModeler::IContour2D

Public Types

typedef TContourData::ImplSeg2D TImplSeg2D
 
typedef TContourData::VertexData TVertexData
 

Public Member Functions

 TContour2DImpl ()
 
 TContour2DImpl (const TContour2DImpl &rSrcCont)
 
virtual void set (const IContour2D &rSrcCont)
 
virtual IContour2Dclone () const
 
virtual ContourImplClass implClass () const
 
virtual bool isClosed () const
 
virtual void setClosed (bool bClosed=true)
 
virtual bool setClosedIfEndsAreEqual (const OdGeTol &gTol=FMGeGbl::gTol)
 
virtual bool isEmpty () const
 
virtual OdUInt32 numVerts () const
 
virtual OdUInt32 numSegments () const
 
virtual bool hasArcs () const
 
virtual SegmentType segmentType (OdUInt32 iIndex) const
 
virtual Result getSegmentAt (OdUInt32 iIndex, IBulgeSeg2D &rSegment) const
 
virtual Result getSegmentAt (OdUInt32 iIndex, OdGePoint2d &ptStart, OdGePoint2d &ptEnd, double &dBulge) const
 
virtual Result getLineSegAt (OdUInt32 iIndex, OdGeLineSeg2d &geLine) const
 
virtual Result getArcSegAt (OdUInt32 iIndex, OdGeCircArc2d &geArc) const
 
virtual Result getPointAt (OdUInt32 iIndex, OdGePoint2d &ptPoint) const
 
virtual Result getBulgeAt (OdUInt32 iIndex, double &dBulge) const
 
virtual Result getVertexAt (OdUInt32 iIndex, OdGePoint2d *pptPoint, double *pdBulge=0, Attributes2D *pAttr=0) const
 
virtual Result getInternalAngleAt (OdUInt32 iIndex, double &dAngle) const
 
virtual Result setPointAt (OdUInt32 iIndex, const OdGePoint2d &ptPoint)
 
virtual Result setBulgeAt (OdUInt32 iIndex, double dBulge)
 
virtual Result setVertexAt (OdUInt32 iIndex, const OdGePoint2d &ptPoint, double dBulge)
 
virtual void reset ()
 
virtual void reserveVertices (OdUInt32 iReservedSize)
 
virtual const Attributes2DattributesAt (OdUInt32 iIndex) const
 
virtual Attributes2Dattributes4UAt (OdUInt32 iIndex)
 
virtual Result setAttributesAt (OdUInt32 iIndex, const Attributes2D &rAttr)
 
virtual OdIntPtr metadataAt (OdUInt32 iIndex) const
 
virtual Result setMetadataAt (OdUInt32 iIndex, OdIntPtr uNewData)
 
virtual Result addVertexAt (OdUInt32 iIndex, const OdGePoint2d &ptStart, double dBulge=0.0, const Attributes2D &rAttr=Attributes2D::kNull)
 
virtual Result appendVertex (const OdGePoint2d &ptStart, double dBulge=0.0, const Attributes2D &rAttr=Attributes2D::kNull)
 
virtual Result appendVertices (const OdGePoint2dArray &vecSource)
 
virtual Result appendVertices (OdUInt32 size, const OdGePoint2d *vecSource, const double *bulgeSource)
 
virtual Result appendSegment (const IBulgeSeg2D &rSeg, bool bShiftToHit=false, const OdGeTol &gTol=FMGeGbl::gTol)
 
virtual Result appendSegment (double dBulge, const OdGePoint2d &ptNewEnd, const Attributes2D &rAttr=Attributes2D::kNull)
 
virtual Result appendContour (const IContour2D &rCont, bool bCloseGap=false, double dMaxGap=1e99)
 
virtual Result removeVertexAt (OdUInt32 iIndex)
 
virtual Result getStartPoint (OdGePoint2d &ptPoint) const
 
virtual Result getEndPoint (OdGePoint2d &ptPoint) const
 
virtual double length () const
 
virtual Result getTangent (double dParam, OdGeVector2d &vTangent) const
 
virtual Result getPoint (double dParam, OdGePoint2d &ptPoint) const
 
virtual Result getPointAtDist (double dDist, OdGePoint2d &ptPoint) const
 
virtual Result getDistAtParam (double dParam, double &dDist) const
 
virtual Result getParamAtDist (double dDist, double &dParam) const
 
virtual Result getNormalizedParam (double &dParam) const
 
virtual Result getNormalizedDist (double &dDist) const
 
virtual bool areEqualParams (double dParam1, double dParam2, const double dTol=1e-10) const
 
virtual bool areEqualDists (double dDist1, double dDist2, const double dTol=FMGeGbl::gTol.equalPoint()) const
 
virtual double signedMinDist (double dDist1, double dDist2) const
 
virtual double signedMinDistByParams (double dParam1, double dParam2) const
 
virtual Result addExtents (OdGeExtents2d &geExtents) const
 
virtual double signedArea () const
 
virtual bool isConvex () const
 
virtual Result getInternalPoint (OdGePoint2d &rPoint, const OdGeTol &gTol=FMGeGbl::gTol) const
 
virtual bool isOn (const OdGePoint2d &ptTest, double *pdParam=0, const OdGeTol &gTol=FMGeGbl::gTol) const
 
virtual double nearestParam (const OdGePoint2d &ptTest, OdGePoint2d *ptNearest=0) const
 
virtual bool contains (const OdGePoint2d &rPoint, bool *pbOnBorder=0, const OdGeTol &gTol=FMGeGbl::gTol) const
 
virtual bool isSelfIntersecting (const OdGeTol &gTol=FMGeGbl::gTol, bool bExcludeTouch=false) const
 
virtual bool isValidRegion (const OdGeTol &gTol=FMGeGbl::gTol) const
 
virtual bool isInsideContour (const IContour2D &c2dOuter, bool fAllowBordersTouch=false, const OdGeTol &gTol=FMGeGbl::gTol) const
 
virtual OdUInt32 intersect (const IBulgeSeg2D &rSegB, std::vector< Intersection > &vecPoints, const OdGeTol &gTol=FMGeGbl::gTol) const
 
virtual OdUInt32 intersect (const IContour2D &rContB, std::vector< Intersection > &vecPoints, const OdGeTol &gTol=FMGeGbl::gTol) const
 
virtual OdUInt32 intersectLine (const OdGePoint2d &ptLineOrigin, const OdGeVector2d &vLineDir, std::vector< Intersection > &vecPoints, const OdGeTol &gTol=FMGeGbl::gTol) const
 
virtual Result transformBy (const OdGeMatrix2d &geMatrix, const DeviationParams &devDeviation=FMGeGbl::gDefDev)
 
virtual void reverse ()
 
virtual void deleteCoincident (const OdGeTol &gTol=FMGeGbl::gTol)
 
virtual void mergeSegments (int iMergeFlags=0, const OdGeTol &gTol=FMGeGbl::gTol)
 
virtual Result explodeTo (IContour2D &rDestCont, const DeviationParams &devDeviation=FMGeGbl::gDefDev, OdIntPtr uArcMetadata=0) const
 
virtual OdUInt32 createVertexAt (double dParam, const OdGeTol &gTol=FMGeGbl::gTol)
 
virtual Result createVerticesAt (const std::vector< double > &vecParams, const OdGeTol &gTol=FMGeGbl::gTol)
 
virtual Result createVerticesAt (OdUInt32 size, const double *vecParams, const OdGeTol &gTol=FMGeGbl::gTol)
 
virtual Result getSubContour (double dStartParam, double dEndParam, IContour2D &rSubContour, const OdGeTol &gTol=FMGeGbl::gTol) const
 
virtual Result appendSubContourTo (double dStartParam, double dEndParam, IContour2D &rSubContour, const OdGeTol &gTol=FMGeGbl::gTol) const
 
virtual Result replaceSubContourTo (IContour2D &rDest, const IContour2D &rSubContour, const OdGeTol &gTol=FMGeGbl::gTol) const
 
- Public Member Functions inherited from FacetModeler::IContour2D
virtual ~IContour2D ()
 
virtual void set (const IContour2D &rSrcCont)=0
 
virtual IContour2Dclone () const =0
 
virtual ContourImplClass implClass () const =0
 
virtual bool isClosed () const =0
 
virtual void setClosed (bool bClosed=true)=0
 
virtual bool setClosedIfEndsAreEqual (const OdGeTol &gTol=FMGeGbl::gTol)=0
 
virtual bool isEmpty () const =0
 
virtual OdUInt32 numVerts () const =0
 
virtual OdUInt32 numSegments () const =0
 
virtual bool hasArcs () const =0
 
virtual SegmentType segmentType (OdUInt32 iIndex) const =0
 
virtual Result getSegmentAt (OdUInt32 iIndex, IBulgeSeg2D &rSegment) const =0
 
virtual Result getSegmentAt (OdUInt32 iIndex, OdGePoint2d &ptStart, OdGePoint2d &ptEnd, double &dBulge) const =0
 
virtual Result getLineSegAt (OdUInt32 iIndex, OdGeLineSeg2d &geLine) const =0
 
virtual Result getArcSegAt (OdUInt32 iIndex, OdGeCircArc2d &geArc) const =0
 
virtual Result getPointAt (OdUInt32 iIndex, OdGePoint2d &ptPoint) const =0
 
virtual Result getBulgeAt (OdUInt32 iIndex, double &dBulge) const =0
 
virtual Result getVertexAt (OdUInt32 iIndex, OdGePoint2d *pptPoint, double *pdBulge=0, Attributes2D *pAttr=0) const =0
 
virtual Result getInternalAngleAt (OdUInt32 iIndex, double &dAngle) const =0
 
virtual Result setPointAt (OdUInt32 iIndex, const OdGePoint2d &ptPoint)=0
 
virtual Result setBulgeAt (OdUInt32 iIndex, double dBulge)=0
 
virtual Result setVertexAt (OdUInt32 iIndex, const OdGePoint2d &ptPoint, double dBulge)=0
 
virtual void reset ()=0
 
virtual void reserveVertices (OdUInt32 iReservedSize)=0
 
virtual const Attributes2DattributesAt (OdUInt32 iIndex) const =0
 
virtual Attributes2Dattributes4UAt (OdUInt32 iIndex)=0
 
virtual Result setAttributesAt (OdUInt32 iIndex, const Attributes2D &rAttr)=0
 
virtual OdIntPtr metadataAt (OdUInt32 iIndex) const =0
 
virtual Result setMetadataAt (OdUInt32 iIndex, OdIntPtr uNewData)=0
 
virtual Result addVertexAt (OdUInt32 iIndex, const OdGePoint2d &ptStart, double dBulge=0.0, const Attributes2D &rAttr=Attributes2D::kNull)=0
 
virtual Result appendVertex (const OdGePoint2d &ptStart, double dBulge=0.0, const Attributes2D &rAttr=Attributes2D::kNull)=0
 
virtual Result appendVertices (const OdGePoint2dArray &vecSource)=0
 
virtual Result appendVertices (OdUInt32 size, const OdGePoint2d *vecSource, const double *bulgeSource=NULL)=0
 
virtual Result appendSegment (const IBulgeSeg2D &rSeg, bool bShiftToHit=false, const OdGeTol &gTol=FMGeGbl::gTol)=0
 
virtual Result appendSegment (double dBulge, const OdGePoint2d &ptNewEnd, const Attributes2D &rAttr=Attributes2D::kNull)=0
 
virtual Result appendContour (const IContour2D &rCont, bool bCloseGap=false, double dMaxGap=1e99)=0
 
virtual Result removeVertexAt (OdUInt32 iIndex)=0
 
double startParam () const
 
double endParam () const
 
virtual Result getStartPoint (OdGePoint2d &ptPoint) const =0
 
virtual Result getEndPoint (OdGePoint2d &ptPoint) const =0
 
virtual double length () const =0
 
virtual Result getTangent (double dParam, OdGeVector2d &vTangent) const =0
 
virtual Result getPoint (double dParam, OdGePoint2d &ptPoint) const =0
 
virtual Result getPointAtDist (double dDist, OdGePoint2d &ptPoint) const =0
 
virtual Result getDistAtParam (double dParam, double &dDist) const =0
 
virtual Result getParamAtDist (double dDist, double &dParam) const =0
 
virtual Result getNormalizedParam (double &dParam) const =0
 
virtual Result getNormalizedDist (double &dDist) const =0
 
virtual bool areEqualParams (double dParam1, double dParam2, const double dParamTol=1e-10) const =0
 
virtual bool areEqualDists (double dDist1, double dDist2, const double dTol=FMGeGbl::gTol.equalPoint()) const =0
 
virtual double signedMinDist (double dDist1, double dDist2) const =0
 
virtual double signedMinDistByParams (double dParam1, double dParam2) const =0
 
virtual Result addExtents (OdGeExtents2d &geExtents) const =0
 
virtual double signedArea () const =0
 
virtual bool isConvex () const =0
 
double area () const
 
bool isCCW () const
 
virtual Result getInternalPoint (OdGePoint2d &rPoint, const OdGeTol &gTol=FMGeGbl::gTol) const =0
 
virtual bool isOn (const OdGePoint2d &ptTest, double *pdParam=0, const OdGeTol &gTol=FMGeGbl::gTol) const =0
 
virtual double nearestParam (const OdGePoint2d &ptTest, OdGePoint2d *ptNearest=0) const =0
 
virtual bool contains (const OdGePoint2d &rPoint, bool *pbOnBorder=0, const OdGeTol &gTol=FMGeGbl::gTol) const =0
 
virtual bool isSelfIntersecting (const OdGeTol &gTol=FMGeGbl::gTol, bool bExcludeTouch=false) const =0
 
virtual bool isValidRegion (const OdGeTol &gTol=FMGeGbl::gTol) const =0
 
virtual bool isInsideContour (const IContour2D &c2dOuter, bool fAllowBordersTouch=false, const OdGeTol &gTol=FMGeGbl::gTol) const =0
 
virtual OdUInt32 intersect (const IBulgeSeg2D &rSegB, std::vector< Intersection > &vecPoints, const OdGeTol &gTol=FMGeGbl::gTol) const =0
 
virtual OdUInt32 intersect (const IContour2D &rContB, std::vector< Intersection > &vecPoints, const OdGeTol &gTol=FMGeGbl::gTol) const =0
 
virtual OdUInt32 intersectLine (const OdGePoint2d &ptLineOrigin, const OdGeVector2d &vLineDir, std::vector< Intersection > &vecPoints, const OdGeTol &gTol=FMGeGbl::gTol) const =0
 
virtual Result transformBy (const OdGeMatrix2d &geMatrix, const DeviationParams &devDeviation=FMGeGbl::gDefDev)=0
 
virtual void reverse ()=0
 
virtual void deleteCoincident (const OdGeTol &gTol=FMGeGbl::gTol)=0
 
virtual void mergeSegments (int iMergeFlags=0, const OdGeTol &gTol=FMGeGbl::gTol)=0
 
virtual Result explodeTo (IContour2D &rDestCont, const DeviationParams &devDeviation, OdIntPtr uArcMetadata=0) const =0
 
virtual OdUInt32 createVertexAt (double dParam, const OdGeTol &gTol=FMGeGbl::gTol)=0
 
virtual Result createVerticesAt (const std::vector< double > &vecParams, const OdGeTol &gTol=FMGeGbl::gTol)=0
 
virtual Result createVerticesAt (OdUInt32 size, const double *vecParams, const OdGeTol &gTol=FMGeGbl::gTol)=0
 
virtual Result getSubContour (double dStartParam, double dEndParam, IContour2D &rSubContour, const OdGeTol &gTol=FMGeGbl::gTol) const =0
 
virtual Result appendSubContourTo (double dStartParam, double dEndParam, IContour2D &rSubContour, const OdGeTol &gTol=FMGeGbl::gTol) const =0
 
virtual Result replaceSubContourTo (IContour2D &rDest, const IContour2D &rSubContour, const OdGeTol &gTol=FMGeGbl::gTol) const =0
 

Protected Member Functions

Result _param2IdxParam (double dParam, OdUInt32 &iIndex, double &dSegParam) const
 
Result _dist2IdxParam (double dDist, OdUInt32 &iIndex, double &dSegParam) const
 
Result _param2dist (double dParam, double &dDist) const
 
Result _normalizeParam (double &dParam) const
 
Result _createVerticesAt (OdUInt32 uCount, const double *pdParams, const OdGeTol &gTol)
 
Result _getSubSegment (OdUInt32 iIndex, double dStartOffs, double dEndOffs, IBulgeSeg2D &rDestSeg) const
 
Result _paramRange2IdxParams (const double dParamA, const double dParamB, OdUInt32 &uIdxA, double &dSegParamA, OdUInt32 &uIdxB, double &dSegParamB, OdUInt32 &iNumPeriodsAB, const double dParamTol=DBL_EPSILON) const
 
Result _appendSubContourTo (double dStartParam, double dEndParam, IContour2D &rSubContour, const OdGeTol &gTol) const
 
bool _isEqualToThis (const IContour2D &rC) const
 

Additional Inherited Members

- Static Public Member Functions inherited from FacetModeler::IContour2D
static IContour2Dcreate (ContourImplClass eClass, const IContour2D *pSrcContour=0)
 

Detailed Description

template<class TContourData>
class FacetModeler::TContour2DImpl< TContourData >

Definition at line 67 of file FMImpTContour2D.h.

Member Typedef Documentation

◆ TImplSeg2D

template<class TContourData >
typedef TContourData::ImplSeg2D FacetModeler::TContour2DImpl< TContourData >::TImplSeg2D

Definition at line 72 of file FMImpTContour2D.h.

◆ TVertexData

template<class TContourData >
typedef TContourData::VertexData FacetModeler::TContour2DImpl< TContourData >::TVertexData

Definition at line 73 of file FMImpTContour2D.h.

Constructor & Destructor Documentation

◆ TContour2DImpl() [1/2]

template<class TContourData >
FacetModeler::TContour2DImpl< TContourData >::TContour2DImpl ( )
inline

Definition at line 76 of file FMImpTContour2D.h.

◆ TContour2DImpl() [2/2]

template<class TContourData >
FacetModeler::TContour2DImpl< TContourData >::TContour2DImpl ( const TContour2DImpl< TContourData > &  rSrcCont)
inline

Definition at line 78 of file FMImpTContour2D.h.

Member Function Documentation

◆ _appendSubContourTo()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::_appendSubContourTo ( double  dStartParam,
double  dEndParam,
IContour2D rSubContour,
const OdGeTol gTol 
) const
protected

Definition at line 3047 of file FMImpTContour2D.h.

◆ _createVerticesAt()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::_createVerticesAt ( OdUInt32  uCount,
const double *  pdParams,
const OdGeTol gTol 
)
protected

Definition at line 2726 of file FMImpTContour2D.h.

◆ _dist2IdxParam()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::_dist2IdxParam ( double  dDist,
OdUInt32 iIndex,
double &  dSegParam 
) const
protected

Definition at line 1199 of file FMImpTContour2D.h.

◆ _getSubSegment()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::_getSubSegment ( OdUInt32  iIndex,
double  dStartOffs,
double  dEndOffs,
IBulgeSeg2D rDestSeg 
) const
protected

Definition at line 3035 of file FMImpTContour2D.h.

◆ _isEqualToThis()

template<class TContourData >
bool FacetModeler::TContour2DImpl< TContourData >::_isEqualToThis ( const IContour2D rC) const
inlineprotected

Definition at line 505 of file FMImpTContour2D.h.

◆ _normalizeParam()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::_normalizeParam ( double &  dParam) const
protected

Definition at line 1443 of file FMImpTContour2D.h.

◆ _param2dist()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::_param2dist ( double  dParam,
double &  dDist 
) const
protected

Definition at line 1281 of file FMImpTContour2D.h.

◆ _param2IdxParam()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::_param2IdxParam ( double  dParam,
OdUInt32 iIndex,
double &  dSegParam 
) const
protected

Definition at line 1133 of file FMImpTContour2D.h.

◆ _paramRange2IdxParams()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::_paramRange2IdxParams ( const double  dParamA,
const double  dParamB,
OdUInt32 uIdxA,
double &  dSegParamA,
OdUInt32 uIdxB,
double &  dSegParamB,
OdUInt32 iNumPeriodsAB,
const double  dParamTol = DBL_EPSILON 
) const
protected

Definition at line 2897 of file FMImpTContour2D.h.

◆ addExtents()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::addExtents ( OdGeExtents2d geExtents) const
virtual

Implements FacetModeler::IContour2D.

Reimplemented in FacetModeler::CachedContour2DImpl.

Definition at line 1668 of file FMImpTContour2D.h.

◆ addVertexAt()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::addVertexAt ( OdUInt32  iIndex,
const OdGePoint2d ptStart,
double  dBulge = 0.0,
const Attributes2D rAttr = Attributes2D::kNull 
)
virtual

Implements FacetModeler::IContour2D.

Definition at line 889 of file FMImpTContour2D.h.

◆ appendContour()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::appendContour ( const IContour2D rCont,
bool  bCloseGap = false,
double  dMaxGap = 1e99 
)
virtual

Implements FacetModeler::IContour2D.

Definition at line 1004 of file FMImpTContour2D.h.

◆ appendSegment() [1/2]

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::appendSegment ( const IBulgeSeg2D rSeg,
bool  bShiftToHit = false,
const OdGeTol gTol = FMGeGbl::gTol 
)
virtual

Implements FacetModeler::IContour2D.

Definition at line 926 of file FMImpTContour2D.h.

◆ appendSegment() [2/2]

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::appendSegment ( double  dBulge,
const OdGePoint2d ptNewEnd,
const Attributes2D rAttr = Attributes2D::kNull 
)
virtual

Implements FacetModeler::IContour2D.

Definition at line 979 of file FMImpTContour2D.h.

◆ appendSubContourTo()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::appendSubContourTo ( double  dStartParam,
double  dEndParam,
IContour2D rSubContour,
const OdGeTol gTol = FMGeGbl::gTol 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 3217 of file FMImpTContour2D.h.

◆ appendVertex()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::appendVertex ( const OdGePoint2d ptStart,
double  dBulge = 0.0,
const Attributes2D rAttr = Attributes2D::kNull 
)
virtual

Implements FacetModeler::IContour2D.

Definition at line 897 of file FMImpTContour2D.h.

◆ appendVertices() [1/2]

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::appendVertices ( const OdGePoint2dArray vecSource)
virtual

Implements FacetModeler::IContour2D.

Definition at line 907 of file FMImpTContour2D.h.

◆ appendVertices() [2/2]

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::appendVertices ( OdUInt32  size,
const OdGePoint2d vecSource,
const double *  bulgeSource 
)
virtual

Implements FacetModeler::IContour2D.

Definition at line 916 of file FMImpTContour2D.h.

◆ areEqualDists()

template<class TContourData >
bool FacetModeler::TContour2DImpl< TContourData >::areEqualDists ( double  dDist1,
double  dDist2,
const double  dTol = FMGeGbl::gTol.equalPoint() 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 1575 of file FMImpTContour2D.h.

◆ areEqualParams()

template<class TContourData >
bool FacetModeler::TContour2DImpl< TContourData >::areEqualParams ( double  dParam1,
double  dParam2,
const double  dTol = 1e-10 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 1552 of file FMImpTContour2D.h.

◆ attributes4UAt()

template<class TContourData >
Attributes2D & FacetModeler::TContour2DImpl< TContourData >::attributes4UAt ( OdUInt32  iIndex)
virtual

Implements FacetModeler::IContour2D.

Definition at line 614 of file FMImpTContour2D.h.

◆ attributesAt()

template<class TContourData >
const Attributes2D & FacetModeler::TContour2DImpl< TContourData >::attributesAt ( OdUInt32  iIndex) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 605 of file FMImpTContour2D.h.

◆ clone()

template<class TContourData >
IContour2D * FacetModeler::TContour2DImpl< TContourData >::clone
virtual

◆ contains()

template<class TContourData >
bool FacetModeler::TContour2DImpl< TContourData >::contains ( const OdGePoint2d rPoint,
bool *  pbOnBorder = 0,
const OdGeTol gTol = FMGeGbl::gTol 
) const
virtual

Implements FacetModeler::IContour2D.

Reimplemented in FacetModeler::CachedContour2DImpl.

Definition at line 1892 of file FMImpTContour2D.h.

◆ createVertexAt()

template<class TContourData >
OdUInt32 FacetModeler::TContour2DImpl< TContourData >::createVertexAt ( double  dParam,
const OdGeTol gTol = FMGeGbl::gTol 
)
virtual

Implements FacetModeler::IContour2D.

Definition at line 2648 of file FMImpTContour2D.h.

◆ createVerticesAt() [1/2]

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::createVerticesAt ( const std::vector< double > &  vecParams,
const OdGeTol gTol = FMGeGbl::gTol 
)
virtual

Implements FacetModeler::IContour2D.

Definition at line 2884 of file FMImpTContour2D.h.

◆ createVerticesAt() [2/2]

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::createVerticesAt ( OdUInt32  size,
const double *  vecParams,
const OdGeTol gTol = FMGeGbl::gTol 
)
virtual

Implements FacetModeler::IContour2D.

Definition at line 2890 of file FMImpTContour2D.h.

◆ deleteCoincident()

template<class TContourData >
void FacetModeler::TContour2DImpl< TContourData >::deleteCoincident ( const OdGeTol gTol = FMGeGbl::gTol)
virtual

Implements FacetModeler::IContour2D.

Definition at line 2459 of file FMImpTContour2D.h.

◆ explodeTo()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::explodeTo ( IContour2D rDestCont,
const DeviationParams devDeviation = FMGeGbl::gDefDev,
OdIntPtr  uArcMetadata = 0 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 2520 of file FMImpTContour2D.h.

◆ getArcSegAt()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getArcSegAt ( OdUInt32  iIndex,
OdGeCircArc2d geArc 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 730 of file FMImpTContour2D.h.

◆ getBulgeAt()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getBulgeAt ( OdUInt32  iIndex,
double &  dBulge 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 756 of file FMImpTContour2D.h.

◆ getDistAtParam()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getDistAtParam ( double  dParam,
double &  dDist 
) const
virtual

Implements FacetModeler::IContour2D.

Reimplemented in FacetModeler::CachedContour2DImpl.

Definition at line 1413 of file FMImpTContour2D.h.

◆ getEndPoint()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getEndPoint ( OdGePoint2d ptPoint) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 1096 of file FMImpTContour2D.h.

◆ getInternalAngleAt()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getInternalAngleAt ( OdUInt32  iIndex,
double &  dAngle 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 790 of file FMImpTContour2D.h.

◆ getInternalPoint()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getInternalPoint ( OdGePoint2d rPoint,
const OdGeTol gTol = FMGeGbl::gTol 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 1789 of file FMImpTContour2D.h.

◆ getLineSegAt()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getLineSegAt ( OdUInt32  iIndex,
OdGeLineSeg2d geLine 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 717 of file FMImpTContour2D.h.

◆ getNormalizedDist()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getNormalizedDist ( double &  dDist) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 1505 of file FMImpTContour2D.h.

◆ getNormalizedParam()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getNormalizedParam ( double &  dParam) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 1497 of file FMImpTContour2D.h.

◆ getParamAtDist()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getParamAtDist ( double  dDist,
double &  dParam 
) const
virtual

Implements FacetModeler::IContour2D.

Reimplemented in FacetModeler::CachedContour2DImpl.

Definition at line 1421 of file FMImpTContour2D.h.

◆ getPoint()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getPoint ( double  dParam,
OdGePoint2d ptPoint 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 1336 of file FMImpTContour2D.h.

◆ getPointAt()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getPointAt ( OdUInt32  iIndex,
OdGePoint2d ptPoint 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 743 of file FMImpTContour2D.h.

◆ getPointAtDist()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getPointAtDist ( double  dDist,
OdGePoint2d ptPoint 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 1370 of file FMImpTContour2D.h.

◆ getSegmentAt() [1/2]

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getSegmentAt ( OdUInt32  iIndex,
IBulgeSeg2D rSegment 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 683 of file FMImpTContour2D.h.

◆ getSegmentAt() [2/2]

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getSegmentAt ( OdUInt32  iIndex,
OdGePoint2d ptStart,
OdGePoint2d ptEnd,
double &  dBulge 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 696 of file FMImpTContour2D.h.

◆ getStartPoint()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getStartPoint ( OdGePoint2d ptPoint) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 1083 of file FMImpTContour2D.h.

◆ getSubContour()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getSubContour ( double  dStartParam,
double  dEndParam,
IContour2D rSubContour,
const OdGeTol gTol = FMGeGbl::gTol 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 3205 of file FMImpTContour2D.h.

◆ getTangent()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getTangent ( double  dParam,
OdGeVector2d vTangent 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 1314 of file FMImpTContour2D.h.

◆ getVertexAt()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::getVertexAt ( OdUInt32  iIndex,
OdGePoint2d pptPoint,
double *  pdBulge = 0,
Attributes2D pAttr = 0 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 768 of file FMImpTContour2D.h.

◆ hasArcs()

template<class TContourData >
bool FacetModeler::TContour2DImpl< TContourData >::hasArcs
virtual

Implements FacetModeler::IContour2D.

Definition at line 575 of file FMImpTContour2D.h.

◆ implClass()

template<class TContourData >
virtual ContourImplClass FacetModeler::TContour2DImpl< TContourData >::implClass ( ) const
inlinevirtual

Implements FacetModeler::IContour2D.

Definition at line 94 of file FMImpTContour2D.h.

◆ intersect() [1/2]

template<class TContourData >
OdUInt32 FacetModeler::TContour2DImpl< TContourData >::intersect ( const IBulgeSeg2D rSegB,
std::vector< Intersection > &  vecPoints,
const OdGeTol gTol = FMGeGbl::gTol 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 2126 of file FMImpTContour2D.h.

◆ intersect() [2/2]

template<class TContourData >
OdUInt32 FacetModeler::TContour2DImpl< TContourData >::intersect ( const IContour2D rContB,
std::vector< Intersection > &  vecPoints,
const OdGeTol gTol = FMGeGbl::gTol 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 2188 of file FMImpTContour2D.h.

◆ intersectLine()

template<class TContourData >
OdUInt32 FacetModeler::TContour2DImpl< TContourData >::intersectLine ( const OdGePoint2d ptLineOrigin,
const OdGeVector2d vLineDir,
std::vector< Intersection > &  vecPoints,
const OdGeTol gTol = FMGeGbl::gTol 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 2266 of file FMImpTContour2D.h.

◆ isClosed()

template<class TContourData >
virtual bool FacetModeler::TContour2DImpl< TContourData >::isClosed ( ) const
inlinevirtual

Implements FacetModeler::IContour2D.

Definition at line 103 of file FMImpTContour2D.h.

◆ isConvex()

template<class TContourData >
bool FacetModeler::TContour2DImpl< TContourData >::isConvex
virtual

Implements FacetModeler::IContour2D.

Reimplemented in FacetModeler::CachedContour2DImpl.

Definition at line 1734 of file FMImpTContour2D.h.

◆ isEmpty()

template<class TContourData >
virtual bool FacetModeler::TContour2DImpl< TContourData >::isEmpty ( ) const
inlinevirtual

Implements FacetModeler::IContour2D.

Definition at line 124 of file FMImpTContour2D.h.

◆ isInsideContour()

template<class TContourData >
bool FacetModeler::TContour2DImpl< TContourData >::isInsideContour ( const IContour2D c2dOuter,
bool  fAllowBordersTouch = false,
const OdGeTol gTol = FMGeGbl::gTol 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 2101 of file FMImpTContour2D.h.

◆ isOn()

template<class TContourData >
bool FacetModeler::TContour2DImpl< TContourData >::isOn ( const OdGePoint2d ptTest,
double *  pdParam = 0,
const OdGeTol gTol = FMGeGbl::gTol 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 1797 of file FMImpTContour2D.h.

◆ isSelfIntersecting()

template<class TContourData >
bool FacetModeler::TContour2DImpl< TContourData >::isSelfIntersecting ( const OdGeTol gTol = FMGeGbl::gTol,
bool  bExcludeTouch = false 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 1945 of file FMImpTContour2D.h.

◆ isValidRegion()

template<class TContourData >
bool FacetModeler::TContour2DImpl< TContourData >::isValidRegion ( const OdGeTol gTol = FMGeGbl::gTol) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 2091 of file FMImpTContour2D.h.

◆ length()

template<class TContourData >
double FacetModeler::TContour2DImpl< TContourData >::length
virtual

Implements FacetModeler::IContour2D.

Reimplemented in FacetModeler::CachedContour2DImpl.

Definition at line 1112 of file FMImpTContour2D.h.

◆ mergeSegments()

template<class TContourData >
void FacetModeler::TContour2DImpl< TContourData >::mergeSegments ( int  iMergeFlags = 0,
const OdGeTol gTol = FMGeGbl::gTol 
)
virtual

Implements FacetModeler::IContour2D.

Definition at line 2513 of file FMImpTContour2D.h.

◆ metadataAt()

template<class TContourData >
OdIntPtr FacetModeler::TContour2DImpl< TContourData >::metadataAt ( OdUInt32  iIndex) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 635 of file FMImpTContour2D.h.

◆ nearestParam()

template<class TContourData >
double FacetModeler::TContour2DImpl< TContourData >::nearestParam ( const OdGePoint2d ptTest,
OdGePoint2d ptNearest = 0 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 1836 of file FMImpTContour2D.h.

◆ numSegments()

template<class TContourData >
virtual OdUInt32 FacetModeler::TContour2DImpl< TContourData >::numSegments ( ) const
inlinevirtual

Implements FacetModeler::IContour2D.

Definition at line 137 of file FMImpTContour2D.h.

◆ numVerts()

template<class TContourData >
virtual OdUInt32 FacetModeler::TContour2DImpl< TContourData >::numVerts ( ) const
inlinevirtual

Implements FacetModeler::IContour2D.

Definition at line 130 of file FMImpTContour2D.h.

◆ removeVertexAt()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::removeVertexAt ( OdUInt32  iIndex)
virtual

Implements FacetModeler::IContour2D.

Definition at line 1074 of file FMImpTContour2D.h.

◆ replaceSubContourTo()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::replaceSubContourTo ( IContour2D rDest,
const IContour2D rSubContour,
const OdGeTol gTol = FMGeGbl::gTol 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 3230 of file FMImpTContour2D.h.

◆ reserveVertices()

template<class TContourData >
void FacetModeler::TContour2DImpl< TContourData >::reserveVertices ( OdUInt32  iReservedSize)
virtual

Implements FacetModeler::IContour2D.

Definition at line 835 of file FMImpTContour2D.h.

◆ reset()

template<class TContourData >
void FacetModeler::TContour2DImpl< TContourData >::reset
virtual

Implements FacetModeler::IContour2D.

Definition at line 827 of file FMImpTContour2D.h.

◆ reverse()

template<class TContourData >
void FacetModeler::TContour2DImpl< TContourData >::reverse
virtual

Implements FacetModeler::IContour2D.

Definition at line 2388 of file FMImpTContour2D.h.

◆ segmentType()

template<class TContourData >
SegmentType FacetModeler::TContour2DImpl< TContourData >::segmentType ( OdUInt32  iIndex) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 594 of file FMImpTContour2D.h.

◆ set()

template<class TContourData >
void FacetModeler::TContour2DImpl< TContourData >::set ( const IContour2D rSrcCont)
virtual

Implements FacetModeler::IContour2D.

Definition at line 522 of file FMImpTContour2D.h.

◆ setAttributesAt()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::setAttributesAt ( OdUInt32  iIndex,
const Attributes2D rAttr 
)
virtual

Implements FacetModeler::IContour2D.

Definition at line 623 of file FMImpTContour2D.h.

◆ setBulgeAt()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::setBulgeAt ( OdUInt32  iIndex,
double  dBulge 
)
virtual

Implements FacetModeler::IContour2D.

Definition at line 858 of file FMImpTContour2D.h.

◆ setClosed()

template<class TContourData >
virtual void FacetModeler::TContour2DImpl< TContourData >::setClosed ( bool  bClosed = true)
inlinevirtual

Implements FacetModeler::IContour2D.

Definition at line 111 of file FMImpTContour2D.h.

◆ setClosedIfEndsAreEqual()

template<class TContourData >
bool FacetModeler::TContour2DImpl< TContourData >::setClosedIfEndsAreEqual ( const OdGeTol gTol = FMGeGbl::gTol)
virtual

Implements FacetModeler::IContour2D.

Definition at line 557 of file FMImpTContour2D.h.

◆ setMetadataAt()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::setMetadataAt ( OdUInt32  iIndex,
OdIntPtr  uNewData 
)
virtual

Implements FacetModeler::IContour2D.

Definition at line 646 of file FMImpTContour2D.h.

◆ setPointAt()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::setPointAt ( OdUInt32  iIndex,
const OdGePoint2d ptPoint 
)
virtual

Implements FacetModeler::IContour2D.

Definition at line 843 of file FMImpTContour2D.h.

◆ setVertexAt()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::setVertexAt ( OdUInt32  iIndex,
const OdGePoint2d ptPoint,
double  dBulge 
)
virtual

Implements FacetModeler::IContour2D.

Definition at line 872 of file FMImpTContour2D.h.

◆ signedArea()

template<class TContourData >
double FacetModeler::TContour2DImpl< TContourData >::signedArea
virtual

Implements FacetModeler::IContour2D.

Reimplemented in FacetModeler::CachedContour2DImpl.

Definition at line 1703 of file FMImpTContour2D.h.

◆ signedMinDist()

template<class TContourData >
double FacetModeler::TContour2DImpl< TContourData >::signedMinDist ( double  dDist1,
double  dDist2 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 1601 of file FMImpTContour2D.h.

◆ signedMinDistByParams()

template<class TContourData >
double FacetModeler::TContour2DImpl< TContourData >::signedMinDistByParams ( double  dParam1,
double  dParam2 
) const
virtual

Implements FacetModeler::IContour2D.

Definition at line 1641 of file FMImpTContour2D.h.

◆ transformBy()

template<class TContourData >
Result FacetModeler::TContour2DImpl< TContourData >::transformBy ( const OdGeMatrix2d geMatrix,
const DeviationParams devDeviation = FMGeGbl::gDefDev 
)
virtual

Implements FacetModeler::IContour2D.

Definition at line 2337 of file FMImpTContour2D.h.


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