GcGePoint2d

class pygcad.pygrx.GcGePoint2d

Bases: pybind11_object

Attributes Summary

x

y

Methods Summary

asVector(self)

C++: GcGePoint2d::asVector() const --> class GcGeVector2d

assign(self, para)

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

distanceTo(self, pnt)

C++: GcGePoint2d::distanceTo(const class GcGePoint2d &) const --> double

isEqualTo(*args, **kwargs)

Overloaded function.

mirror(self, line)

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

rotateBy(*args, **kwargs)

Overloaded function.

scaleBy(*args, **kwargs)

Overloaded function.

set(self, x, y)

C++: GcGePoint2d::set(double, double) --> class GcGePoint2d &

setToProduct(self, mat, pnt)

C++: GcGePoint2d::setToProduct(const class GcGeMatrix2d &, const class GcGePoint2d &) --> class GcGePoint2d&

setToSum(self, pnt, vec)

C++: GcGePoint2d::setToSum(const class GcGePoint2d &, const class GcGeVector2d &) --> class GcGePoint2d &

transformBy(self, leftSide)

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

Attributes Documentation

x
y

Methods Documentation

asVector(self: pygcad.pygrx.GcGePoint2d) GcGeVector2d

C++: GcGePoint2d::asVector() const –> class GcGeVector2d

assign(self: pygcad.pygrx.GcGePoint2d, para: pygcad.pygrx.GcGePoint2d) pygcad.pygrx.GcGePoint2d

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

distanceTo(self: pygcad.pygrx.GcGePoint2d, pnt: pygcad.pygrx.GcGePoint2d) float

C++: GcGePoint2d::distanceTo(const class GcGePoint2d &) const –> double

isEqualTo(*args, **kwargs)

Overloaded function.

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

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

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

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

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

rotateBy(*args, **kwargs)

Overloaded function.

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

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

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

scaleBy(*args, **kwargs)

Overloaded function.

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

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

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

set(self: pygcad.pygrx.GcGePoint2d, x: float, y: float) pygcad.pygrx.GcGePoint2d

C++: GcGePoint2d::set(double, double) –> class GcGePoint2d &

setToProduct(self: pygcad.pygrx.GcGePoint2d, mat: GcGeMatrix2d, pnt: pygcad.pygrx.GcGePoint2d) pygcad.pygrx.GcGePoint2d

C++: GcGePoint2d::setToProduct(const class GcGeMatrix2d &, const class GcGePoint2d &) –> class GcGePoint2d&

setToSum(self: pygcad.pygrx.GcGePoint2d, pnt: pygcad.pygrx.GcGePoint2d, vec: GcGeVector2d) pygcad.pygrx.GcGePoint2d

C++: GcGePoint2d::setToSum(const class GcGePoint2d &, const class GcGeVector2d &) –> class GcGePoint2d &

transformBy(self: pygcad.pygrx.GcGePoint2d, leftSide: GcGeMatrix2d) pygcad.pygrx.GcGePoint2d

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