CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
24 #ifndef _DBMPOLYGON_H_INCLUDED_
25 #define _DBMPOLYGON_H_INCLUDED_
32 class OdDbMPolygonCrossing;
97 const double* values );
330 #endif // _DBMPOLYGON_H_INCLUDED_
virtual void setPatternSpace(double space)
virtual double patternAngle() const
virtual OdGeVector2d getOffsetVector() const
virtual void setPatternAngle(double angle)
virtual void subSetDatabaseDefaults(OdDbDatabase *pDb, bool doSubents)
virtual const OdString & patternName() const
virtual OdDbHatchPtr hatch()
virtual OdResult appendLoopFromBoundary(const OdDbCircle *pCircle, bool excludeCrossing=true, double tol=OdDbMPolygonCrossingFuzz)
virtual OdResult insertMPolygonLoopAt(int loopIndex, const OdGePoint2dArray &vertices, const OdGeDoubleArray &bulges, bool excludeCrossing=true, double tol=OdDbMPolygonCrossingFuzz)
virtual OdResult appendLoopFromBoundary(const OdDb2dPolyline *pPoly, bool excludeCrossing=true, double tol=OdDbMPolygonCrossingFuzz)
void setGradientShift(float shiftValue)
virtual OdResult getLoopDirection(int lindex, OdDbMPolygon::loopDir &dir) const
virtual bool isPointOnLoopBoundary(const OdGePoint3d &worldPt, int loop, double tol=OdDbMPolygonCrossingFuzz) const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual void setPatternDouble(bool isDouble)
OdResult createLoopsFromBoundaries(const OdDbObjectIdArray &ids, OdIntArray &rejectedObjs, bool excludeCrossing=true, double tol=OdDbMPolygonCrossingFuzz)
virtual void setPatternScale(double scale)
void setGradientAngle(double angle)
virtual OdCmColor patternColor() const
virtual void setPatternColor(const OdCmColor &pc)
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
virtual double patternScale() const
virtual int isPointInsideMPolygon(const OdGePoint3d &worldPt, OdGeIntArray &loopsArray, double tol=OdDbMPolygonCrossingFuzz) const
virtual OdResult removeMPolygonLoopAt(int loopIndex)
virtual bool patternDouble() const
int getParentLoop(int curLoop) const
virtual OdResult getMPolygonLoopAt(int loopIndex, OdGePoint2dArray &vertices, OdGeDoubleArray &bulges) const
virtual int numMPolygonLoops() const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual double elevation() const
void setGradientOneColorMode(bool oneColorMode)
OdArray< OdDbMPolygonNode * > mChildren
virtual OdResult getArea(double &area) const
virtual OdResult evaluateHatch(bool bUnderestimateNumLines=false)
void setGradientColors(unsigned int count, const OdCmColor *colors, const double *values)
void setGradient(OdDbHatch::GradientPatternType gradType, const OdString &gradName)
virtual OdResult setLoopDirection(int lindex, OdDbMPolygon::loopDir dir)
double getPerimeter() const
OdSmartPtr< OdDbMPolygon > OdDbMPolygonPtr
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual void getPatternDefinitionAt(int index, double &angle, double &baseX, double &baseY, double &offsetX, double &offsetY, OdGeDoubleArray &dashes) const
virtual OdResult appendMPolygonLoop(const OdGePoint2dArray &vertices, const OdGeDoubleArray &bulges, bool excludeCrossing=true, double tol=OdDbMPolygonCrossingFuzz)
virtual void setNormal(const OdGeVector3d &normal)
virtual OdResult subTransformBy(const OdGeMatrix3d &xfn)
virtual OdResult subExplode(OdRxObjectPtrArray &entitySet) const
int getClosestLoopTo(const OdGePoint3d &worldPt) const
virtual void saveAs(OdGiWorldDraw *pWd, OdDb::DwgVersion ver) const
ODDB_DECLARE_MEMBERS(OdDbMPolygon)
virtual OdGeVector3d normal() const
virtual double patternSpace() const
const double OdDbMPolygonCrossingFuzz
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult appendLoopFromBoundary(const OdDbPolyline *pPoly, bool excludeCrossing=true, double tol=OdDbMPolygonCrossingFuzz)
OdArray< OdDbMPolygonCrossing, OdPlainObjectsAllocator< OdDbMPolygonCrossing > > OdDbMPolygonCrossingArray
virtual OdDbHatch::HatchPatternType patternType() const
virtual void setElevation(double elevation)
virtual int numPatternDefinitions() const
virtual void setPattern(OdDbHatch::HatchPatternType patType, const OdString &patName)
OdResult createLoops(const OdArray< OdGePoint2dArray > &vertices, const OdArray< OdGeDoubleArray > &bulges, OdIntArray &rejectedObjs, bool excludeCrossing=true, double tol=OdDbMPolygonCrossingFuzz)
OdDbMPolygonNode * mParent