GcGeEntity2d

class pygcad.pygrx.GcGeEntity2d

Bases: pybind11_object

Methods Summary

assign(self, entity)

C++: GcGeEntity2d::operator=(const class GcGeEntity2d &) --> class GcGeEntity2d &

copy(self)

C++: GcGeEntity2d::copy() const --> class GcGeEntity2d *

isEqualTo(*args, **kwargs)

Overloaded function.

isKindOf(self, entType)

C++: GcGeEntity2d::isKindOf(enum GcGe::EntityId) const --> bool

isOn(*args, **kwargs)

Overloaded function.

mirror(self, line)

C++: GcGeEntity2d::mirror(const class GcGeLine2d &) --> class GcGeEntity2d &

rotateBy(*args, **kwargs)

Overloaded function.

scaleBy(*args, **kwargs)

Overloaded function.

transformBy(self, xfm)

C++: GcGeEntity2d::transformBy(const class GcGeMatrix2d &) --> class GcGeEntity2d &

translateBy(self, translateVec)

C++: GcGeEntity2d::translateBy(const class GcGeVector2d &) --> class GcGeEntity2d &

type(self)

C++: GcGeEntity2d::type() const --> enum GcGe::EntityId

Methods Documentation

assign(self: pygcad.pygrx.GcGeEntity2d, entity: pygcad.pygrx.GcGeEntity2d) pygcad.pygrx.GcGeEntity2d

C++: GcGeEntity2d::operator=(const class GcGeEntity2d &) –> class GcGeEntity2d &

copy(self: pygcad.pygrx.GcGeEntity2d) pygcad.pygrx.GcGeEntity2d

C++: GcGeEntity2d::copy() const –> class GcGeEntity2d *

isEqualTo(*args, **kwargs)

Overloaded function.

  1. isEqualTo(self: pygcad.pygrx.GcGeEntity2d, entity: pygcad.pygrx.GcGeEntity2d) -> bool

  2. isEqualTo(self: pygcad.pygrx.GcGeEntity2d, entity: pygcad.pygrx.GcGeEntity2d, tol: pygcad.pygrx.GcGeTol) -> bool

C++: GcGeEntity2d::isEqualTo(const class GcGeEntity2d &, const class GcGeTol &) const –> bool

isKindOf(self: pygcad.pygrx.GcGeEntity2d, entType: GcGe::EntityId) bool

C++: GcGeEntity2d::isKindOf(enum GcGe::EntityId) const –> bool

isOn(*args, **kwargs)

Overloaded function.

  1. isOn(self: pygcad.pygrx.GcGeEntity2d, pnt: GcGePoint2d) -> bool

  2. isOn(self: pygcad.pygrx.GcGeEntity2d, pnt: GcGePoint2d, tol: pygcad.pygrx.GcGeTol) -> bool

C++: GcGeEntity2d::isOn(const class GcGePoint2d &, const class GcGeTol &) const –> bool

mirror(self: pygcad.pygrx.GcGeEntity2d, line: GcGeLine2d) pygcad.pygrx.GcGeEntity2d

C++: GcGeEntity2d::mirror(const class GcGeLine2d &) –> class GcGeEntity2d &

rotateBy(*args, **kwargs)

Overloaded function.

  1. rotateBy(self: pygcad.pygrx.GcGeEntity2d, angle: float) -> pygcad.pygrx.GcGeEntity2d

  2. rotateBy(self: pygcad.pygrx.GcGeEntity2d, angle: float, wrtPoint: GcGePoint2d) -> pygcad.pygrx.GcGeEntity2d

C++: GcGeEntity2d::rotateBy(double, const class GcGePoint2d &) –> class GcGeEntity2d &

scaleBy(*args, **kwargs)

Overloaded function.

  1. scaleBy(self: pygcad.pygrx.GcGeEntity2d, scaleFactor: float) -> pygcad.pygrx.GcGeEntity2d

  2. scaleBy(self: pygcad.pygrx.GcGeEntity2d, scaleFactor: float, wrtPoint: GcGePoint2d) -> pygcad.pygrx.GcGeEntity2d

C++: GcGeEntity2d::scaleBy(double, const class GcGePoint2d &) –> class GcGeEntity2d &

transformBy(self: pygcad.pygrx.GcGeEntity2d, xfm: GcGeMatrix2d) pygcad.pygrx.GcGeEntity2d

C++: GcGeEntity2d::transformBy(const class GcGeMatrix2d &) –> class GcGeEntity2d &

translateBy(self: pygcad.pygrx.GcGeEntity2d, translateVec: GcGeVector2d) pygcad.pygrx.GcGeEntity2d

C++: GcGeEntity2d::translateBy(const class GcGeVector2d &) –> class GcGeEntity2d &

type(self: pygcad.pygrx.GcGeEntity2d) GcGe::EntityId

C++: GcGeEntity2d::type() const –> enum GcGe::EntityId