GcDbMPolygon

class pygcad.pygrx.GcDbMPolygon

Bases: GcDbEntity

Attributes Summary

kAnnotation

kExterior

kInterior

Methods Summary

appendLoopFromBoundary(*args, **kwargs)

Overloaded function.

appendMPolygonLoop(*args, **kwargs)

Overloaded function.

audit(self, para)

C++: GcDbMPolygon::audit(class GcDbAuditInfo *) --> enum Gcad::ErrorStatus

balanceDisplay(self)

C++: GcDbMPolygon::balanceDisplay() --> enum Gcad::ErrorStatus

balanceTree(self)

C++: GcDbMPolygon::balanceTree() --> enum Gcad::ErrorStatus

cast(inPtr)

C++: GcDbMPolygon::cast(const class GcRxObject *) --> class GcDbMPolygon *

className()

C++: GcDbMPolygon::className() --> const wchar_t *

decomposeForSave(self, ver)

C++: GcDbMPolygon::decomposeForSave(enum GcDb::GcDbDwgVersion, class GcDbObject *&, class GcDbObjectId &, bool &) --> enum Gcad::ErrorStatus

deleteMPolygonTree(self, loopNode)

C++: GcDbMPolygon::deleteMPolygonTree(class GcDbMPolygonNode *) const --> void

desc()

C++: GcDbMPolygon::desc() --> class GcRxClass *

dwgInFields(self, filer)

C++: GcDbMPolygon::dwgInFields(class GcDbDwgFiler *) --> enum Gcad::ErrorStatus

dwgOutFields(self, filer)

C++: GcDbMPolygon::dwgOutFields(class GcDbDwgFiler *) const --> enum Gcad::ErrorStatus

dxfInFields(self, filer)

C++: GcDbMPolygon::dxfInFields(class GcDbDxfFiler *) --> enum Gcad::ErrorStatus

dxfOutFields(self, filer)

C++: GcDbMPolygon::dxfOutFields(class GcDbDxfFiler *) const --> enum Gcad::ErrorStatus

elevation(self)

C++: GcDbMPolygon::elevation() const --> double

evaluateHatch(*args, **kwargs)

Overloaded function.

getArea(self)

C++: GcDbMPolygon::getArea() const --> double

getChildLoops(self, curLoop, selectedLoopIndexes)

C++: GcDbMPolygon::getChildLoops(int, GcGeIntArray &) const --> void

getClosestLoopTo(self, worldPt)

C++: GcDbMPolygon::getClosestLoopTo(const class GcGePoint3d &) const --> int

getLoopAtGsMarker(self, gsMark)

C++: GcDbMPolygon::getLoopAtGsMarker(int, int &) const --> enum Gcad::ErrorStatus

getLoopDirection(self, lindex, dir)

C++: GcDbMPolygon::getLoopDirection(int, enum GcDbMPolygon::loopDir &) const --> enum Gcad::ErrorStatus

getMPolygonLoopAt(self, loopIndex, vertices, ...)

C++: GcDbMPolygon::getMPolygonLoopAt(int, GcGePoint2dArray &, GcGeDoubleArray &) const --> enum Gcad::ErrorStatus

getMPolygonTree(self)

C++: GcDbMPolygon::getMPolygonTree(class GcDbMPolygonNode *&) const --> enum Gcad::ErrorStatus

getOffsetVector(self)

C++: GcDbMPolygon::getOffsetVector() const --> class GcGeVector2d

getParentLoop(self, curLoop)

C++: GcDbMPolygon::getParentLoop(int) const --> int

getPatternDefinitionAt(self, index)

C++: GcDbMPolygon::getPatternDefinitionAt(int) const --> Tuple[s:Gcad.ErrorStatus, andle:double, baseX:double, baseY:double, offsetX:double, offsetY:double, dashes:GcGeDoubleArray]

getPerimeter(self)

C++: GcDbMPolygon::getPerimeter() const --> double

hatch(self)

C++: GcDbMPolygon::hatch() --> class GcDbHatch *

includesTouchingLoops(*args, **kwargs)

Overloaded function.

insertMPolygonLoopAt(*args, **kwargs)

Overloaded function.

isA(self)

C++: GcDbMPolygon::isA() const --> class GcRxClass *

isBalanced(self)

C++: GcDbMPolygon::isBalanced() const --> bool

loopCrossesMPolygon(self, findAll, ...[, tol])

C++: GcDbMPolygon::loopCrossesMPolygon(bool &, bool, class GcDbMPolygonCrossingArray &, const int &, const int &, double) const --> enum Gcad::ErrorStatus

normal(self)

C++: GcDbMPolygon::normal() const --> class GcGeVector3d

numMPolygonLoops(self)

C++: GcDbMPolygon::numMPolygonLoops() const --> int

numPatternDefinitions(self)

C++: GcDbMPolygon::numPatternDefinitions() const --> int

patternAngle(self)

C++: GcDbMPolygon::patternAngle() const --> double

patternColor(self)

C++: GcDbMPolygon::patternColor() const --> class GcCmColor

patternDouble(self)

C++: GcDbMPolygon::patternDouble() const --> bool

patternName(self)

C++: GcDbMPolygon::patternName() const --> const int *

patternScale(self)

C++: GcDbMPolygon::patternScale() const --> double

patternSpace(self)

C++: GcDbMPolygon::patternSpace() const --> double

patternType(self)

C++: GcDbMPolygon::patternType() const --> enum GcDbHatch::HatchPatternType

removeMPolygonLoopAt(self, loopIndex)

C++: GcDbMPolygon::removeMPolygonLoopAt(int) --> enum Gcad::ErrorStatus

rxInit()

C++: GcDbMPolygon::rxInit() --> void

saveAs(self, mode, st)

C++: GcDbMPolygon::saveAs(class GcGiWorldDraw *, enum GcDb::SaveType) --> void

selfCrosses(*args, **kwargs)

Overloaded function.

setElevation(self, elevation)

C++: GcDbMPolygon::setElevation(double) --> enum Gcad::ErrorStatus

setGradient(self, gradType, gradName)

C++: GcDbMPolygon::setGradient(enum GcDbHatch::GradientPatternType, const int *) --> enum Gcad::ErrorStatus

setGradientAngle(self, angle)

C++: GcDbMPolygon::setGradientAngle(double) --> enum Gcad::ErrorStatus

setGradientColors(self, count, colors, values)

C++: GcDbMPolygon::setGradientColors(unsigned int, class GcCmColor *, float *) --> enum Gcad::ErrorStatus

setGradientOneColorMode(self, oneColorMode)

C++: GcDbMPolygon::setGradientOneColorMode(bool) --> enum Gcad::ErrorStatus

setGradientShift(self, shiftValue)

C++: GcDbMPolygon::setGradientShift(float) --> enum Gcad::ErrorStatus

setLoopDirection(self, lindex, dir)

C++: GcDbMPolygon::setLoopDirection(int, enum GcDbMPolygon::loopDir) --> enum Gcad::ErrorStatus

setNormal(self, normal)

C++: GcDbMPolygon::setNormal(const class GcGeVector3d &) --> enum Gcad::ErrorStatus

setPattern(self, patType, patName)

C++: GcDbMPolygon::setPattern(enum GcDbHatch::HatchPatternType, const int *) --> enum Gcad::ErrorStatus

setPatternAngle(self, angle)

C++: GcDbMPolygon::setPatternAngle(double) --> enum Gcad::ErrorStatus

setPatternColor(self, pc)

C++: GcDbMPolygon::setPatternColor(const class GcCmColor &) --> enum Gcad::ErrorStatus

setPatternDouble(self, isDouble)

C++: GcDbMPolygon::setPatternDouble(bool) --> enum Gcad::ErrorStatus

setPatternScale(self, scale)

C++: GcDbMPolygon::setPatternScale(double) --> enum Gcad::ErrorStatus

setPatternSpace(self, space)

C++: GcDbMPolygon::setPatternSpace(double) --> enum Gcad::ErrorStatus

subExplode(self, entitySet)

C++: GcDbMPolygon::subExplode(GcDbVoidPtrArray &) const --> enum Gcad::ErrorStatus

subGetGeomExtents(self, extents)

C++: GcDbMPolygon::subGetGeomExtents(class GcDbExtents &) const --> enum Gcad::ErrorStatus

subGetGripPoints(self, gripPoints, ...)

C++: GcDbMPolygon::subGetGripPoints(GcGePoint3dArray &, GcDbIntArray &, GcDbIntArray &) const --> enum Gcad::ErrorStatus

subGetOsnapPoints(self, osnapMode, ...)

C++: GcDbMPolygon::subGetOsnapPoints(enum GcDb::OsnapMode, long, const class GcGePoint3d &, const class GcGePoint3d &, const class GcGeMatrix3d &, GcGePoint3dArray &, GcDbIntArray &) const --> enum Gcad::ErrorStatus

subGetStretchPoints(self, stretchPoints)

C++: GcDbMPolygon::subGetStretchPoints(GcGePoint3dArray &) const --> enum Gcad::ErrorStatus

subGetSubentPathsAtGsMarker(*args, **kwargs)

Overloaded function.

subList(self)

C++: GcDbMPolygon::subList() const --> void

subMoveGripPointsAt(self, indices, offset)

C++: GcDbMPolygon::subMoveGripPointsAt(const int &, const class GcGeVector3d &) --> enum Gcad::ErrorStatus

subMoveStretchPointsAt(self, indices, offset)

C++: GcDbMPolygon::subMoveStretchPointsAt(const int &, const class GcGeVector3d &) --> enum Gcad::ErrorStatus

subSubentPtr(self, id)

C++: GcDbMPolygon::subSubentPtr(const class GcDbFullSubentPath &) const --> class GcDbEntity *

subTransformBy(self, xform)

C++: GcDbMPolygon::subTransformBy(const class GcGeMatrix3d &) --> enum Gcad::ErrorStatus

subWorldDraw(self, mode)

C++: GcDbMPolygon::subWorldDraw(class GcGiWorldDraw *) --> bool

Attributes Documentation

kAnnotation = <loopDir.kAnnotation: 2>
kExterior = <loopDir.kExterior: 0>
kInterior = <loopDir.kInterior: 1>

Methods Documentation

appendLoopFromBoundary(*args, **kwargs)

Overloaded function.

  1. appendLoopFromBoundary(self: pygcad.pygrx.GcDbMPolygon, pCircle: pygcad.pygrx.GcDbCircle) -> pygcad.pygrx.Gcad.ErrorStatus

  2. appendLoopFromBoundary(self: pygcad.pygrx.GcDbMPolygon, pCircle: pygcad.pygrx.GcDbCircle, excludeCrossing: bool) -> pygcad.pygrx.Gcad.ErrorStatus

  3. appendLoopFromBoundary(self: pygcad.pygrx.GcDbMPolygon, pCircle: pygcad.pygrx.GcDbCircle, excludeCrossing: bool, tol: float) -> pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::appendLoopFromBoundary(const class GcDbCircle *, bool, double) –> enum Gcad::ErrorStatus

  1. appendLoopFromBoundary(self: pygcad.pygrx.GcDbMPolygon, pPoly: pygcad.pygrx.GcDbPolyline) -> pygcad.pygrx.Gcad.ErrorStatus

  2. appendLoopFromBoundary(self: pygcad.pygrx.GcDbMPolygon, pPoly: pygcad.pygrx.GcDbPolyline, excludeCrossing: bool) -> pygcad.pygrx.Gcad.ErrorStatus

  3. appendLoopFromBoundary(self: pygcad.pygrx.GcDbMPolygon, pPoly: pygcad.pygrx.GcDbPolyline, excludeCrossing: bool, tol: float) -> pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::appendLoopFromBoundary(const class GcDbPolyline *, bool, double) –> enum Gcad::ErrorStatus

  1. appendLoopFromBoundary(self: pygcad.pygrx.GcDbMPolygon, pPoly: pygcad.pygrx.GcDb2dPolyline) -> pygcad.pygrx.Gcad.ErrorStatus

  2. appendLoopFromBoundary(self: pygcad.pygrx.GcDbMPolygon, pPoly: pygcad.pygrx.GcDb2dPolyline, excludeCrossing: bool) -> pygcad.pygrx.Gcad.ErrorStatus

  3. appendLoopFromBoundary(self: pygcad.pygrx.GcDbMPolygon, pPoly: pygcad.pygrx.GcDb2dPolyline, excludeCrossing: bool, tol: float) -> pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::appendLoopFromBoundary(const class GcDb2dPolyline *, bool, double) –> enum Gcad::ErrorStatus

appendMPolygonLoop(*args, **kwargs)

Overloaded function.

  1. appendMPolygonLoop(self: pygcad.pygrx.GcDbMPolygon, vertices: pygcad.pygrx.GcGePoint2dArray, bulges: pygcad.pygrx.GcGeDoubleArray) -> pygcad.pygrx.Gcad.ErrorStatus

  2. appendMPolygonLoop(self: pygcad.pygrx.GcDbMPolygon, vertices: pygcad.pygrx.GcGePoint2dArray, bulges: pygcad.pygrx.GcGeDoubleArray, excludeCrossing: bool) -> pygcad.pygrx.Gcad.ErrorStatus

  3. appendMPolygonLoop(self: pygcad.pygrx.GcDbMPolygon, vertices: pygcad.pygrx.GcGePoint2dArray, bulges: pygcad.pygrx.GcGeDoubleArray, excludeCrossing: bool, tol: float) -> pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::appendMPolygonLoop(const int &, const int &, bool, double) –> enum Gcad::ErrorStatus

audit(self: pygcad.pygrx.GcDbMPolygon, para: pygcad.pygrx.GcDbAuditInfo) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::audit(class GcDbAuditInfo *) –> enum Gcad::ErrorStatus

balanceDisplay(self: pygcad.pygrx.GcDbMPolygon) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::balanceDisplay() –> enum Gcad::ErrorStatus

balanceTree(self: pygcad.pygrx.GcDbMPolygon) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::balanceTree() –> enum Gcad::ErrorStatus

static cast(inPtr: pygcad.pygrx.GcRxObject) pygcad.pygrx.GcDbMPolygon

C++: GcDbMPolygon::cast(const class GcRxObject *) –> class GcDbMPolygon *

static className() str

C++: GcDbMPolygon::className() –> const wchar_t *

decomposeForSave(self: pygcad.pygrx.GcDbMPolygon, ver: pygcad.pygrx.GcDb.GcDbDwgVersion) Tuple[pygcad.pygrx.Gcad.ErrorStatus, pygcad.pygrx.GcDbObject, pygcad.pygrx.GcDbObjectId, bool]

C++: GcDbMPolygon::decomposeForSave(enum GcDb::GcDbDwgVersion, class GcDbObject *&, class GcDbObjectId &, bool &) –> enum Gcad::ErrorStatus

deleteMPolygonTree(self: pygcad.pygrx.GcDbMPolygon, loopNode: GcDbMPolygonNode) None

C++: GcDbMPolygon::deleteMPolygonTree(class GcDbMPolygonNode *) const –> void

static desc() pygcad.pygrx.GcRxClass

C++: GcDbMPolygon::desc() –> class GcRxClass *

dwgInFields(self: pygcad.pygrx.GcDbMPolygon, filer: GcDbDwgFiler) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::dwgInFields(class GcDbDwgFiler *) –> enum Gcad::ErrorStatus

dwgOutFields(self: pygcad.pygrx.GcDbMPolygon, filer: GcDbDwgFiler) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::dwgOutFields(class GcDbDwgFiler *) const –> enum Gcad::ErrorStatus

dxfInFields(self: pygcad.pygrx.GcDbMPolygon, filer: GcDbDxfFiler) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::dxfInFields(class GcDbDxfFiler *) –> enum Gcad::ErrorStatus

dxfOutFields(self: pygcad.pygrx.GcDbMPolygon, filer: GcDbDxfFiler) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::dxfOutFields(class GcDbDxfFiler *) const –> enum Gcad::ErrorStatus

elevation(self: pygcad.pygrx.GcDbMPolygon) float

C++: GcDbMPolygon::elevation() const –> double

evaluateHatch(*args, **kwargs)

Overloaded function.

  1. evaluateHatch(self: pygcad.pygrx.GcDbMPolygon) -> pygcad.pygrx.Gcad.ErrorStatus

  2. evaluateHatch(self: pygcad.pygrx.GcDbMPolygon, bUnderestimateNumLines: bool) -> pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::evaluateHatch(bool) –> enum Gcad::ErrorStatus

getArea(self: pygcad.pygrx.GcDbMPolygon) float

C++: GcDbMPolygon::getArea() const –> double

getChildLoops(self: pygcad.pygrx.GcDbMPolygon, curLoop: int, selectedLoopIndexes: pygcad.pygrx.GcGeInt32Array) None

C++: GcDbMPolygon::getChildLoops(int, GcGeIntArray &) const –> void

getClosestLoopTo(self: pygcad.pygrx.GcDbMPolygon, worldPt: pygcad.pygrx.GcGePoint3d) int

C++: GcDbMPolygon::getClosestLoopTo(const class GcGePoint3d &) const –> int

getLoopAtGsMarker(self: pygcad.pygrx.GcDbMPolygon, gsMark: int) Tuple[pygcad.pygrx.Gcad.ErrorStatus, int]

C++: GcDbMPolygon::getLoopAtGsMarker(int, int &) const –> enum Gcad::ErrorStatus

getLoopDirection(self: pygcad.pygrx.GcDbMPolygon, lindex: int, dir: pygcad.pygrx.GcDbMPolygon.loopDir) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::getLoopDirection(int, enum GcDbMPolygon::loopDir &) const –> enum Gcad::ErrorStatus

getMPolygonLoopAt(self: pygcad.pygrx.GcDbMPolygon, loopIndex: int, vertices: pygcad.pygrx.GcGePoint2dArray, bulges: pygcad.pygrx.GcGeDoubleArray) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::getMPolygonLoopAt(int, GcGePoint2dArray &, GcGeDoubleArray &) const –> enum Gcad::ErrorStatus

getMPolygonTree(self: pygcad.pygrx.GcDbMPolygon) Tuple[pygcad.pygrx.Gcad.ErrorStatus, GcDbMPolygonNode]

C++: GcDbMPolygon::getMPolygonTree(class GcDbMPolygonNode *&) const –> enum Gcad::ErrorStatus

getOffsetVector(self: pygcad.pygrx.GcDbMPolygon) pygcad.pygrx.GcGeVector2d

C++: GcDbMPolygon::getOffsetVector() const –> class GcGeVector2d

getParentLoop(self: pygcad.pygrx.GcDbMPolygon, curLoop: int) int

C++: GcDbMPolygon::getParentLoop(int) const –> int

getPatternDefinitionAt(self: pygcad.pygrx.GcDbMPolygon, index: int) Tuple[pygcad.pygrx.Gcad.ErrorStatus, float, float, float, float, float, pygcad.pygrx.GcGeDoubleArray]

C++: GcDbMPolygon::getPatternDefinitionAt(int) const –> Tuple[s:Gcad.ErrorStatus, andle:double, baseX:double, baseY:double, offsetX:double, offsetY:double, dashes:GcGeDoubleArray]

getPerimeter(self: pygcad.pygrx.GcDbMPolygon) float

C++: GcDbMPolygon::getPerimeter() const –> double

hatch(self: pygcad.pygrx.GcDbMPolygon) pygcad.pygrx.GcDbHatch

C++: GcDbMPolygon::hatch() –> class GcDbHatch *

includesTouchingLoops(*args, **kwargs)

Overloaded function.

  1. includesTouchingLoops(self: pygcad.pygrx.GcDbMPolygon) -> bool

  2. includesTouchingLoops(self: pygcad.pygrx.GcDbMPolygon, tol: float) -> bool

C++: GcDbMPolygon::includesTouchingLoops(double) const –> bool

insertMPolygonLoopAt(*args, **kwargs)

Overloaded function.

  1. insertMPolygonLoopAt(self: pygcad.pygrx.GcDbMPolygon, loopIndex: int, vertices: pygcad.pygrx.GcGePoint2dArray, bulges: pygcad.pygrx.GcGeDoubleArray) -> pygcad.pygrx.Gcad.ErrorStatus

  2. insertMPolygonLoopAt(self: pygcad.pygrx.GcDbMPolygon, loopIndex: int, vertices: pygcad.pygrx.GcGePoint2dArray, bulges: pygcad.pygrx.GcGeDoubleArray, excludeCrossing: bool) -> pygcad.pygrx.Gcad.ErrorStatus

  3. insertMPolygonLoopAt(self: pygcad.pygrx.GcDbMPolygon, loopIndex: int, vertices: pygcad.pygrx.GcGePoint2dArray, bulges: pygcad.pygrx.GcGeDoubleArray, excludeCrossing: bool, tol: float) -> pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::insertMPolygonLoopAt(int, const int &, const int &, bool, double) –> enum Gcad::ErrorStatus

isA(self: pygcad.pygrx.GcDbMPolygon) pygcad.pygrx.GcRxClass

C++: GcDbMPolygon::isA() const –> class GcRxClass *

isBalanced(self: pygcad.pygrx.GcDbMPolygon) bool

C++: GcDbMPolygon::isBalanced() const –> bool

loopCrossesMPolygon(self: pygcad.pygrx.GcDbMPolygon, findAll: bool, testVertexPts: int, testVertexBulges: int, tol: float = 1e-06) Tuple[pygcad.pygrx.Gcad.ErrorStatus, bool, GcDbMPolygonCrossingArray]

C++: GcDbMPolygon::loopCrossesMPolygon(bool &, bool, class GcDbMPolygonCrossingArray &, const int &, const int &, double) const –> enum Gcad::ErrorStatus

normal(self: pygcad.pygrx.GcDbMPolygon) pygcad.pygrx.GcGeVector3d

C++: GcDbMPolygon::normal() const –> class GcGeVector3d

numMPolygonLoops(self: pygcad.pygrx.GcDbMPolygon) int

C++: GcDbMPolygon::numMPolygonLoops() const –> int

numPatternDefinitions(self: pygcad.pygrx.GcDbMPolygon) int

C++: GcDbMPolygon::numPatternDefinitions() const –> int

patternAngle(self: pygcad.pygrx.GcDbMPolygon) float

C++: GcDbMPolygon::patternAngle() const –> double

patternColor(self: pygcad.pygrx.GcDbMPolygon) pygcad.pygrx.GcCmColor

C++: GcDbMPolygon::patternColor() const –> class GcCmColor

patternDouble(self: pygcad.pygrx.GcDbMPolygon) bool

C++: GcDbMPolygon::patternDouble() const –> bool

patternName(self: pygcad.pygrx.GcDbMPolygon) int

C++: GcDbMPolygon::patternName() const –> const int *

patternScale(self: pygcad.pygrx.GcDbMPolygon) float

C++: GcDbMPolygon::patternScale() const –> double

patternSpace(self: pygcad.pygrx.GcDbMPolygon) float

C++: GcDbMPolygon::patternSpace() const –> double

patternType(self: pygcad.pygrx.GcDbMPolygon) pygcad.pygrx.GcDbHatch.HatchPatternType

C++: GcDbMPolygon::patternType() const –> enum GcDbHatch::HatchPatternType

removeMPolygonLoopAt(self: pygcad.pygrx.GcDbMPolygon, loopIndex: int) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::removeMPolygonLoopAt(int) –> enum Gcad::ErrorStatus

static rxInit() None

C++: GcDbMPolygon::rxInit() –> void

saveAs(self: pygcad.pygrx.GcDbMPolygon, mode: GcGiWorldDraw, st: pygcad.pygrx.GcDb.SaveType) None

C++: GcDbMPolygon::saveAs(class GcGiWorldDraw *, enum GcDb::SaveType) –> void

selfCrosses(*args, **kwargs)

Overloaded function.

  1. selfCrosses(self: pygcad.pygrx.GcDbMPolygon, vertexPts: int, vertexBulges: int) -> bool

  2. selfCrosses(self: pygcad.pygrx.GcDbMPolygon, vertexPts: int, vertexBulges: int, tol: float) -> bool

C++: GcDbMPolygon::selfCrosses(const int &, const int &, double) const –> bool

setElevation(self: pygcad.pygrx.GcDbMPolygon, elevation: float) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::setElevation(double) –> enum Gcad::ErrorStatus

setGradient(self: pygcad.pygrx.GcDbMPolygon, gradType: pygcad.pygrx.GcDbHatch.GradientPatternType, gradName: int) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::setGradient(enum GcDbHatch::GradientPatternType, const int *) –> enum Gcad::ErrorStatus

setGradientAngle(self: pygcad.pygrx.GcDbMPolygon, angle: float) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::setGradientAngle(double) –> enum Gcad::ErrorStatus

setGradientColors(self: pygcad.pygrx.GcDbMPolygon, count: int, colors: pygcad.pygrx.GcCmColor, values: float) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::setGradientColors(unsigned int, class GcCmColor *, float *) –> enum Gcad::ErrorStatus

setGradientOneColorMode(self: pygcad.pygrx.GcDbMPolygon, oneColorMode: bool) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::setGradientOneColorMode(bool) –> enum Gcad::ErrorStatus

setGradientShift(self: pygcad.pygrx.GcDbMPolygon, shiftValue: float) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::setGradientShift(float) –> enum Gcad::ErrorStatus

setLoopDirection(self: pygcad.pygrx.GcDbMPolygon, lindex: int, dir: pygcad.pygrx.GcDbMPolygon.loopDir) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::setLoopDirection(int, enum GcDbMPolygon::loopDir) –> enum Gcad::ErrorStatus

setNormal(self: pygcad.pygrx.GcDbMPolygon, normal: pygcad.pygrx.GcGeVector3d) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::setNormal(const class GcGeVector3d &) –> enum Gcad::ErrorStatus

setPattern(self: pygcad.pygrx.GcDbMPolygon, patType: pygcad.pygrx.GcDbHatch.HatchPatternType, patName: int) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::setPattern(enum GcDbHatch::HatchPatternType, const int *) –> enum Gcad::ErrorStatus

setPatternAngle(self: pygcad.pygrx.GcDbMPolygon, angle: float) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::setPatternAngle(double) –> enum Gcad::ErrorStatus

setPatternColor(self: pygcad.pygrx.GcDbMPolygon, pc: pygcad.pygrx.GcCmColor) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::setPatternColor(const class GcCmColor &) –> enum Gcad::ErrorStatus

setPatternDouble(self: pygcad.pygrx.GcDbMPolygon, isDouble: bool) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::setPatternDouble(bool) –> enum Gcad::ErrorStatus

setPatternScale(self: pygcad.pygrx.GcDbMPolygon, scale: float) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::setPatternScale(double) –> enum Gcad::ErrorStatus

setPatternSpace(self: pygcad.pygrx.GcDbMPolygon, space: float) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::setPatternSpace(double) –> enum Gcad::ErrorStatus

subExplode(self: pygcad.pygrx.GcDbMPolygon, entitySet: GcArray<void * __ptr64, GcArrayMemCopyReallocator<void * __ptr64> >) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::subExplode(GcDbVoidPtrArray &) const –> enum Gcad::ErrorStatus

subGetGeomExtents(self: pygcad.pygrx.GcDbMPolygon, extents: pygcad.pygrx.GcDbExtents) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::subGetGeomExtents(class GcDbExtents &) const –> enum Gcad::ErrorStatus

subGetGripPoints(self: pygcad.pygrx.GcDbMPolygon, gripPoints: pygcad.pygrx.GcGePoint3dArray, osnapModes: pygcad.pygrx.GcGeInt32Array, geomIds: pygcad.pygrx.GcGeInt32Array) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::subGetGripPoints(GcGePoint3dArray &, GcDbIntArray &, GcDbIntArray &) const –> enum Gcad::ErrorStatus

subGetOsnapPoints(self: pygcad.pygrx.GcDbMPolygon, osnapMode: pygcad.pygrx.GcDb.OsnapMode, gsSelectionMark: int, pickPoint: pygcad.pygrx.GcGePoint3d, lastPoint: pygcad.pygrx.GcGePoint3d, viewXform: pygcad.pygrx.GcGeMatrix3d, snapPoints: pygcad.pygrx.GcGePoint3dArray, geomIds: pygcad.pygrx.GcGeInt32Array) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::subGetOsnapPoints(enum GcDb::OsnapMode, long, const class GcGePoint3d &, const class GcGePoint3d &, const class GcGeMatrix3d &, GcGePoint3dArray &, GcDbIntArray &) const –> enum Gcad::ErrorStatus

subGetStretchPoints(self: pygcad.pygrx.GcDbMPolygon, stretchPoints: pygcad.pygrx.GcGePoint3dArray) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::subGetStretchPoints(GcGePoint3dArray &) const –> enum Gcad::ErrorStatus

subGetSubentPathsAtGsMarker(*args, **kwargs)

Overloaded function.

  1. subGetSubentPathsAtGsMarker(self: pygcad.pygrx.GcDbMPolygon, type: int, gsMark: int, pickPoint: pygcad.pygrx.GcGePoint3d, viewXform: pygcad.pygrx.GcGeMatrix3d, numInserts: int = 0) -> Tuple[pygcad.pygrx.Gcad.ErrorStatus, int, pygcad.pygrx.GcDbFullSubentPath]

  2. subGetSubentPathsAtGsMarker(self: pygcad.pygrx.GcDbMPolygon, type: int, gsMark: int, pickPoint: pygcad.pygrx.GcGePoint3d, viewXform: pygcad.pygrx.GcGeMatrix3d, numInserts: int, entAndInsertStack: pygcad.pygrx.GcDbObjectId) -> Tuple[pygcad.pygrx.Gcad.ErrorStatus, int, pygcad.pygrx.GcDbFullSubentPath]

C++: GcDbMPolygon::subGetSubentPathsAtGsMarker(unsigned int, long, const class GcGePoint3d &, const class GcGeMatrix3d &, int &, class GcDbFullSubentPath *&, int, class GcDbObjectId *) const –> enum Gcad::ErrorStatus

subList(self: pygcad.pygrx.GcDbMPolygon) None

C++: GcDbMPolygon::subList() const –> void

subMoveGripPointsAt(self: pygcad.pygrx.GcDbMPolygon, indices: int, offset: pygcad.pygrx.GcGeVector3d) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::subMoveGripPointsAt(const int &, const class GcGeVector3d &) –> enum Gcad::ErrorStatus

subMoveStretchPointsAt(self: pygcad.pygrx.GcDbMPolygon, indices: int, offset: pygcad.pygrx.GcGeVector3d) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::subMoveStretchPointsAt(const int &, const class GcGeVector3d &) –> enum Gcad::ErrorStatus

subSubentPtr(self: pygcad.pygrx.GcDbMPolygon, id: pygcad.pygrx.GcDbFullSubentPath) pygcad.pygrx.GcDbEntity

C++: GcDbMPolygon::subSubentPtr(const class GcDbFullSubentPath &) const –> class GcDbEntity *

subTransformBy(self: pygcad.pygrx.GcDbMPolygon, xform: pygcad.pygrx.GcGeMatrix3d) pygcad.pygrx.Gcad.ErrorStatus

C++: GcDbMPolygon::subTransformBy(const class GcGeMatrix3d &) –> enum Gcad::ErrorStatus

subWorldDraw(self: pygcad.pygrx.GcDbMPolygon, mode: GcGiWorldDraw) bool

C++: GcDbMPolygon::subWorldDraw(class GcGiWorldDraw *) –> bool