24 #ifndef __FMPROFILE2D_H__
25 #define __FMPROFILE2D_H__
212 bool bAdjustWidth,
bool bAdjustDepth,
213 bool bMirrorInX,
bool bMirrorInY,
214 double dRotation,
Profile2D& rResult )
const;
226 bool bFitX,
bool bFitY,
static FMGEOMETRY_API_STATIC const Profile2D kNull
Result explodeTo(Profile2D &rDestProfile, const DeviationParams &devDeviation=FMGeGbl::gDefDev, OdIntPtr uArcMetadata=0) const
Result regularizeTo(Profile2D &rDest, const OdGeTol &gTol=FMGeGbl::gTol) const
Result getSingleContour(Contour2D &rDest, const OdGeTol &gTol=FMGeGbl::gTol) const
const Contour2D * const_iterator
DOM.
void swap(Profile2D &rAnother)
DOM.
const_iterator begin() const
DOM.
double signedArea() const
bool hasNonEmptyContours() const
void fit(const OdGeExtents2d &extBoundingBox, const DeviationParams &devDeviation=FMGeGbl::gDefDev)
const_reference back() const
DOM.
size_type size() const
DOM.
const_iterator end() const
DOM.
Contour2D & push_back(ContourImplClass eCC)
DOM.
size_type max_size() const
DOM.
Result getFaces(std::vector< Profile2D > &aFaces) const
bool isValidRegion(const OdGeTol &gTol=FMGeGbl::gTol) const
Result transformBy(const OdGeMatrix2d &mMatrix, const DeviationParams &devDeviation=FMGeGbl::gDefDev)
Result getOffsetProfile(double dOffset, Profile2D &rResult, FilletType eFilletType=eftExtend, const OdGeTol &gTol=FMGeGbl::gTol) const
Profile2D(const Contour2D &rSrcCont)
void split(const OdGeLine2d &lCutter, Profile2D &rRght, Profile2D &rLeft) const
void getHoles(Profile2D &rHolesProfile) const
void reserve(size_type iNewCapacity)
DOM.
static bool PerformOperation(BooleanOperation eOperation, const Profile2D &rArg1, const Profile2D &rArg2, Profile2D &rResult, const OdGeTol &tol=FMGeGbl::gTol)
void push_back(const Contour2D &rVal)
DOM.
Profile2D(const Profile2D &rSrc)
Contour2D & push_back()
DOM.
const_reference front() const
DOM.
void getWithoutHoles(Profile2D &rNoHolesProfile) const
void getAdjustedProfile(double dWidth, double dDepth, bool bAdjustWidth, bool bAdjustDepth, bool bMirrorInX, bool bMirrorInY, double dRotation, Profile2D &rResult) const
iterator insert(iterator itWhere, const Contour2D &rVal)
DOM.
void deleteCoincident(const OdGeTol &gTol=FMGeGbl::gTol)
Contour2D & reference
DOM.
void erase(size_type iPos)
DOM.
void mergeSegments(int iMergeFlags=0, const OdGeTol &gTol=FMGeGbl::gTol)
iterator erase(iterator itFirst, iterator itLast)
DOM.
void insert(size_type iPos, const Contour2D &rVal)
DOM.
void resize(size_type iSize)
Result addExtents(OdGeExtents2d &extExtents) const
void fit(const OdGeExtents2d &extBoundingBox, bool bFitX, bool bFitY, const DeviationParams &devDeviation=FMGeGbl::gDefDev)
const Contour2D * const_pointer
DOM.
bool contains(const OdGePoint2d &ptTest, bool *pOnBorder=0, const OdGeTol &gTol=FMGeGbl::gTol) const
void insert(iterator itWhere, const_iterator itFirst, const_iterator itLast)
DOM.
Result setAllMetadata(OdIntPtr uNewData, OdIntPtr uBitsToModify=INT_MAX)
Result explode(const DeviationParams &devDeviation=FMGeGbl::gDefDev, OdIntPtr uArcMetadata=0)
iterator erase(iterator itWhere)
DOM.
const Contour2D & const_reference
DOM.
size_type capacity() const
DOM.
Result FMGEOMETRY_API GetProfileWithOffsetSegment(const Profile2D &rSrc, Profile2D &rDest, OdUInt32 uContour, OdUInt32 uSegment, double dNormalOffset)
static FMGEOMETRY_API_STATIC DeviationParams gDefDev
static FMGEOMETRY_API_STATIC OdGeTol gTol