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

#include <FMProfile3D.h>

Inheritance diagram for FacetModeler::Profile3D:
FacetModeler::Profile2D FacetModeler::Wrapper3D

Public Member Functions

 Profile3D ()
 
 ~Profile3D ()
 
 Profile3D (const Profile2D &cFrom2d)
 
 Profile3D (const Profile2D &cFrom2d, const OdGeMatrix3d &mMatrix)
 
 Profile3D (const Profile2D &cFrom2d, const OdGeVector3d &vXAxis, const OdGeVector3d &vYAxis)
 
 Profile3D (const Profile2D &cFrom2d, const OdGePlane &rPlane)
 
 Profile3D (const OdGeMatrix3d &mMatrix)
 
 Profile3D (const OdGeVector3d &vXAxis, const OdGeVector3d &vYAxis, const OdGePoint3d &ptOrigin=OdGePoint3d::kOrigin)
 
 Profile3D (const OdGePlane &pPlane)
 
Result transformBy (const OdGeMatrix2d &mMatrix, const DeviationParams &devDeviation=FMGeGbl::gDefDev)
 
Result transformBy (const OdGeMatrix3d &mMatrix)
 
void swap (Profile2D &rAnother)
 
void swap (Profile3D &rAnother)
 
const Profile2Das2d () const
 
Profile2Das2d ()
 
- Public Member Functions inherited from FacetModeler::Profile2D
 Profile2D ()
 
 Profile2D (const Contour2D &rSrcCont)
 
 ~Profile2D ()
 
 Profile2D (const Profile2D &rSrc)
 
Profile2Doperator= (const Profile2D &rSrc)
 
size_type size () const
 DOM. More...
 
bool empty () const
 DOM. More...
 
size_type capacity () const
 DOM. More...
 
size_type max_size () const
 DOM. More...
 
const_reference operator[] (size_type iPos) const
 DOM. More...
 
reference operator[] (size_type iPos)
 DOM. More...
 
const_reference front () const
 DOM. More...
 
reference front ()
 DOM. More...
 
const_reference back () const
 DOM. More...
 
reference back ()
 DOM. More...
 
const_iterator begin () const
 DOM. More...
 
iterator begin ()
 DOM. More...
 
const_iterator end () const
 DOM. More...
 
iterator end ()
 DOM. More...
 
void clear ()
 
void resize (size_type iSize)
 
void reserve (size_type iNewCapacity)
 DOM. More...
 
Contour2Dpush_back ()
 DOM. More...
 
Contour2Dpush_back (ContourImplClass eCC)
 DOM. More...
 
void push_back (const Contour2D &rVal)
 DOM. More...
 
void pop_back ()
 DOM. More...
 
void erase (size_type iPos)
 DOM. More...
 
iterator erase (iterator itWhere)
 DOM. More...
 
iterator erase (iterator itFirst, iterator itLast)
 DOM. More...
 
void insert (size_type iPos, const Contour2D &rVal)
 DOM. More...
 
iterator insert (iterator itWhere, const Contour2D &rVal)
 DOM. More...
 
void insert (iterator itWhere, const_iterator itFirst, const_iterator itLast)
 DOM. More...
 
void swap (Profile2D &rAnother)
 DOM. More...
 
Result addExtents (OdGeExtents2d &extExtents) const
 
bool hasNonEmptyContours () const
 
void reverse ()
 
Result transformBy (const OdGeMatrix2d &mMatrix, const DeviationParams &devDeviation=FMGeGbl::gDefDev)
 
void deleteCoincident (const OdGeTol &gTol=FMGeGbl::gTol)
 
void mergeSegments (int iMergeFlags=0, const OdGeTol &gTol=FMGeGbl::gTol)
 
Result explode (const DeviationParams &devDeviation=FMGeGbl::gDefDev, OdUInt32 uArcMetadata=0)
 
Result explodeTo (Profile2D &rDestProfile, const DeviationParams &devDeviation=FMGeGbl::gDefDev, OdUInt32 uArcMetadata=0) const
 
double perimeter () const
 
void getAdjustedProfile (double dWidth, double dDepth, bool bAdjustWidth, bool bAdjustDepth, bool bMirrorInX, bool bMirrorInY, double dRotation, Profile2D &rResult) const
 
void fit (const OdGeExtents2d &extBoundingBox, const DeviationParams &devDeviation=FMGeGbl::gDefDev)
 
void fit (const OdGeExtents2d &extBoundingBox, bool bFitX, bool bFitY, const DeviationParams &devDeviation=FMGeGbl::gDefDev)
 
Result getOffsetProfile (double dOffset, Profile2D &rResult, FilletType eFilletType=eftExtend, const OdGeTol &gTol=FMGeGbl::gTol) const
 
void getHoles (Profile2D &rHolesProfile) const
 
void getWithoutHoles (Profile2D &rNoHolesProfile) const
 
Result getFaces (std::vector< Profile2D > &aFaces) const
 
void split (const OdGeLine2d &lCutter, Profile2D &rRght, Profile2D &rLeft) const
 
Result setAllMetadata (OdUInt32 uNewData, OdUInt32 uBitsToModify=UINT_MAX)
 
Result regularizeTo (Profile2D &rDest, const OdGeTol &gTol=FMGeGbl::gTol) const
 
bool isValidRegion (const OdGeTol &gTol=FMGeGbl::gTol) const
 
double signedArea () const
 
Result getSingleContour (Contour2D &rDest, const OdGeTol &gTol=FMGeGbl::gTol) const
 
bool contains (const OdGePoint2d &ptTest, bool *pOnBorder=0, const OdGeTol &gTol=FMGeGbl::gTol) const
 
- Public Member Functions inherited from FacetModeler::Wrapper3D
 Wrapper3D ()
 
 Wrapper3D (const OdGeMatrix3d &rMatrix)
 
 Wrapper3D (const OdGeVector3d &vXAxis, const OdGeVector3d &vYAxis, const OdGePoint3d &ptOrigin=OdGePoint3d::kOrigin)
 
 Wrapper3D (const OdGePlane &rPlane)
 
const OdGeMatrix3dtransform () const
 
OdGePlane plane () const
 
const OdGeMatrix3dinversedTransform () const
 
Result setTransform (const OdGeMatrix3d &mTransform)
 
Result setTransform (const OdGeVector3d &vXAxis, const OdGeVector3d &vYAxis, const OdGePoint3d &ptOrigin=OdGePoint3d::kOrigin)
 
Result transformBy (const OdGeMatrix3d &mMatrix)
 
void to3D (const OdGePoint2d &rSource2D, OdGePoint3d &rDest3D) const
 
void to3D (const OdGeVector2d &rSource2D, OdGeVector3d &rDest3D) const
 
Result to2D (const OdGePoint3d &rSource3D, OdGePoint2d &rDest2D) const
 
Result to2D (const OdGeVector3d &rSource3D, OdGeVector2d &rDest2D) const
 
void swap (Wrapper3D &rAnother)
 
bool getUnifiedTransform (const OdGeMatrix3d &mDest, OdGeMatrix3d &mNewTrans3D, OdGeMatrix2d &mTrans2D) const
 

Additional Inherited Members

- Public Types inherited from FacetModeler::Profile2D
typedef Contour2D value_type
 DOM. More...
 
typedef const Contour2Dconst_reference
 DOM. More...
 
typedef Contour2Dreference
 DOM. More...
 
typedef const Contour2Dconst_pointer
 DOM. More...
 
typedef Contour2Dpointer
 DOM. More...
 
typedef OdUInt32 size_type
 DOM. More...
 
typedef const Contour2Dconst_iterator
 DOM. More...
 
typedef Contour2Diterator
 DOM. More...
 
- Static Public Member Functions inherited from FacetModeler::Profile2D
static bool PerformOperation (BooleanOperation eOperation, const Profile2D &rArg1, const Profile2D &rArg2, Profile2D &rResult, const OdGeTol &tol=FMGeGbl::gTol)
 
- Static Public Attributes inherited from FacetModeler::Profile2D
static FMGEOMETRY_API_STATIC const Profile2D kNull
 

Detailed Description

2D Profile in 3D space.

Remarks
Contains 2D Profile and 3d transformation matrix.

Definition at line 42 of file FMProfile3D.h.

Constructor & Destructor Documentation

◆ Profile3D() [1/8]

FacetModeler::Profile3D::Profile3D ( )

Constructor.

◆ ~Profile3D()

FacetModeler::Profile3D::~Profile3D ( )

Destructor.

◆ Profile3D() [2/8]

FacetModeler::Profile3D::Profile3D ( const Profile2D cFrom2d)
explicit

Constructor.

◆ Profile3D() [3/8]

FacetModeler::Profile3D::Profile3D ( const Profile2D cFrom2d,
const OdGeMatrix3d mMatrix 
)
explicit

Constructor.

◆ Profile3D() [4/8]

FacetModeler::Profile3D::Profile3D ( const Profile2D cFrom2d,
const OdGeVector3d vXAxis,
const OdGeVector3d vYAxis 
)
explicit

Constructor.

◆ Profile3D() [5/8]

FacetModeler::Profile3D::Profile3D ( const Profile2D cFrom2d,
const OdGePlane rPlane 
)
explicit

Constructor.

◆ Profile3D() [6/8]

FacetModeler::Profile3D::Profile3D ( const OdGeMatrix3d mMatrix)
explicit

Constructor.

◆ Profile3D() [7/8]

FacetModeler::Profile3D::Profile3D ( const OdGeVector3d vXAxis,
const OdGeVector3d vYAxis,
const OdGePoint3d ptOrigin = OdGePoint3d::kOrigin 
)
explicit

Constructor.

◆ Profile3D() [8/8]

FacetModeler::Profile3D::Profile3D ( const OdGePlane pPlane)
explicit

Constructor.

Member Function Documentation

◆ as2d() [1/2]

Profile2D& FacetModeler::Profile3D::as2d ( )
inline

Cast this profile to 2D

Definition at line 123 of file FMProfile3D.h.

◆ as2d() [2/2]

const Profile2D& FacetModeler::Profile3D::as2d ( ) const
inline

Cast this profile to 2D

Definition at line 118 of file FMProfile3D.h.

◆ swap() [1/2]

void FacetModeler::Profile3D::swap ( Profile2D rAnother)

Swap 2D data but keep 3D transform.

◆ swap() [2/2]

void FacetModeler::Profile3D::swap ( Profile3D rAnother)

Swap 2D data and 3D transform.

◆ transformBy() [1/2]

Result FacetModeler::Profile3D::transformBy ( const OdGeMatrix2d mMatrix,
const DeviationParams devDeviation = FMGeGbl::gDefDev 
)

Transforms all points of the profile.

◆ transformBy() [2/2]

Result FacetModeler::Profile3D::transformBy ( const OdGeMatrix3d mMatrix)

Transforms profile's matrix.


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