CFx SDK Documentation  2023 SP0
Public Member Functions | List of all members
FacetModeler::SimpleContour2DImpl Class Reference

#include <FMImpSimpleContour2D.h>

Inheritance diagram for FacetModeler::SimpleContour2DImpl:
FacetModeler::TContour2DImpl< SimpleContour2DImplData > FacetModeler::IContour2D FacetModeler::SimpleContour2DImplData

Public Member Functions

 SimpleContour2DImpl ()
 
virtual IContour2Dclone () const
 
- Public Member Functions inherited from FacetModeler::TContour2DImpl< SimpleContour2DImplData >
 TContour2DImpl ()
 
 TContour2DImpl (const TContour2DImpl &rSrcCont)
 
virtual void set (const IContour2D &rSrcCont)
 
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 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
 

Additional Inherited Members

- Public Types inherited from FacetModeler::TContour2DImpl< SimpleContour2DImplData >
typedef TContourData::ImplSeg2D TImplSeg2D
 
typedef TContourData::VertexData TVertexData
 
- Static Public Member Functions inherited from FacetModeler::IContour2D
static IContour2Dcreate (ContourImplClass eClass, const IContour2D *pSrcContour=0)
 
- Protected Member Functions inherited from FacetModeler::TContour2DImpl< SimpleContour2DImplData >
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
 
- Protected Member Functions inherited from FacetModeler::SimpleContour2DImplData
 SimpleContour2DImplData ()
 
virtual ~SimpleContour2DImplData ()
 
ContourImplClass _implClass () const
 
bool _closed () const
 
bool _empty () const
 
OdUInt32 _numVerts () const
 
OdUInt32 _numSegments () const
 
Result _getSegment (OdUInt32 iIndex, ImplSeg2D &rSeg) const
 
Result _normalizeIndex (OdUInt32 &iVertIndex) const
 
const VertexData_vertex (OdUInt32 iIndex) const
 
VertexData_vertex (OdUInt32 iIndex)
 
void _reset (OdUInt32 iVertexCount=0, bool bClosed=false)
 
void _resize (OdUInt32 iNewVertNum)
 
void _reserveVertices (OdUInt32 iReservedSize)
 
void _setClosed (bool bClosed)
 
void _setModifiedAll ()
 
void _setModifiedSegs (OdUInt32, OdUInt32=1)
 
void _setModifiedVerts (OdUInt32, OdUInt32=1)
 
Result _insertVerticesAt (OdUInt32 iIndex, OdUInt32 iCount, const OdGePoint2d *paPoints, const double *paBulges=0, const Attributes2D *pAttrs=0)
 
Result _removeVertices (OdUInt32 iIndex, OdUInt32 iCount=1)
 

Detailed Description

Definition at line 202 of file FMImpSimpleContour2D.h.

Constructor & Destructor Documentation

◆ SimpleContour2DImpl()

FacetModeler::SimpleContour2DImpl::SimpleContour2DImpl ( )
inline

Definition at line 205 of file FMImpSimpleContour2D.h.

Member Function Documentation

◆ clone()

virtual IContour2D* FacetModeler::SimpleContour2DImpl::clone ( ) const
virtual

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