CFx SDK Documentation
2020SP3
|
#include <FMImpTContour2D.h>
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 IContour2D * | clone () 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 Attributes2D & | attributesAt (OdUInt32 iIndex) const |
virtual Attributes2D & | attributes4UAt (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 | 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 | 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 () |
double | startParam () const |
double | endParam () const |
double | area () const |
bool | isCCW () const |
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 IContour2D * | create (ContourImplClass eClass, const IContour2D *pSrcContour=0) |
Definition at line 67 of file FMImpTContour2D.h.
typedef TContourData::ImplSeg2D FacetModeler::TContour2DImpl< TContourData >::TImplSeg2D |
Definition at line 72 of file FMImpTContour2D.h.
typedef TContourData::VertexData FacetModeler::TContour2DImpl< TContourData >::TVertexData |
Definition at line 73 of file FMImpTContour2D.h.
|
inline |
Definition at line 76 of file FMImpTContour2D.h.
|
inline |
Definition at line 78 of file FMImpTContour2D.h.
|
protected |
Definition at line 3029 of file FMImpTContour2D.h.
|
protected |
Definition at line 2713 of file FMImpTContour2D.h.
|
protected |
Definition at line 1186 of file FMImpTContour2D.h.
|
protected |
Definition at line 3017 of file FMImpTContour2D.h.
|
inlineprotected |
Definition at line 501 of file FMImpTContour2D.h.
|
protected |
Definition at line 1430 of file FMImpTContour2D.h.
|
protected |
Definition at line 1268 of file FMImpTContour2D.h.
|
protected |
Definition at line 1120 of file FMImpTContour2D.h.
|
protected |
Definition at line 2879 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Reimplemented in FacetModeler::CachedContour2DImpl.
Definition at line 1655 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 885 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 991 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 913 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 966 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 3199 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 893 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 903 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1562 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1539 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 610 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 601 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 545 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Reimplemented in FacetModeler::CachedContour2DImpl.
Definition at line 1879 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 2635 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 2871 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 2446 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 2507 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 726 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 752 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Reimplemented in FacetModeler::CachedContour2DImpl.
Definition at line 1400 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1083 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 786 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1776 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 713 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1492 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1484 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Reimplemented in FacetModeler::CachedContour2DImpl.
Definition at line 1408 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1323 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 739 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1357 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 679 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 692 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1070 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 3187 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1301 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 764 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 571 of file FMImpTContour2D.h.
|
inlinevirtual |
Implements FacetModeler::IContour2D.
Definition at line 94 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 2113 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 2175 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 2253 of file FMImpTContour2D.h.
|
inlinevirtual |
Implements FacetModeler::IContour2D.
Definition at line 103 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1721 of file FMImpTContour2D.h.
|
inlinevirtual |
Implements FacetModeler::IContour2D.
Definition at line 124 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 2088 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1784 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1932 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 2078 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1099 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 2500 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 631 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1823 of file FMImpTContour2D.h.
|
inlinevirtual |
Implements FacetModeler::IContour2D.
Definition at line 137 of file FMImpTContour2D.h.
|
inlinevirtual |
Implements FacetModeler::IContour2D.
Definition at line 130 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1061 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 3212 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 831 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 823 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 2375 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 590 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 518 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 619 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 854 of file FMImpTContour2D.h.
|
inlinevirtual |
Implements FacetModeler::IContour2D.
Definition at line 111 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 553 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 642 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 839 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 868 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1690 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1588 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 1628 of file FMImpTContour2D.h.
|
virtual |
Implements FacetModeler::IContour2D.
Definition at line 2324 of file FMImpTContour2D.h.