GcGeVector2d

class pygcad.pygrx.GcGeVector2d

Bases: pybind11_object

Attributes Summary

x

y

Methods Summary

angle(self)

C++: GcGeVector2d::angle() const --> double

angleTo(self, vec)

C++: GcGeVector2d::angleTo(const class GcGeVector2d &) const --> double

dotProduct(self, vec)

C++: GcGeVector2d::dotProduct(const class GcGeVector2d &) const --> double

isCodirectionalTo(*args, **kwargs)

Overloaded function.

isEqualTo(*args, **kwargs)

Overloaded function.

isParallelTo(*args, **kwargs)

Overloaded function.

isPerpendicularTo(*args, **kwargs)

Overloaded function.

isUnitLength(*args, **kwargs)

Overloaded function.

isZeroLength(*args, **kwargs)

Overloaded function.

length(self)

C++: GcGeVector2d::length() const --> double

lengthSqrd(self)

C++: GcGeVector2d::lengthSqrd() const --> double

mirror(self, line)

C++: GcGeVector2d::mirror(const class GcGeVector2d &) --> class GcGeVector2d &

negate(self)

C++: GcGeVector2d::negate() --> class GcGeVector2d &

normal(*args, **kwargs)

Overloaded function.

normalize(*args, **kwargs)

Overloaded function.

perpVector(self)

C++: GcGeVector2d::perpVector() const --> class GcGeVector2d

rotateBy(self, angle)

C++: GcGeVector2d::rotateBy(double) --> class GcGeVector2d &

set(self, x, y)

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

setToProduct(*args, **kwargs)

Overloaded function.

setToSum(self, vec1, vec2)

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

transformBy(self, leftSide)

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

Attributes Documentation

x
y

Methods Documentation

angle(self: pygcad.pygrx.GcGeVector2d) float

C++: GcGeVector2d::angle() const –> double

angleTo(self: pygcad.pygrx.GcGeVector2d, vec: pygcad.pygrx.GcGeVector2d) float

C++: GcGeVector2d::angleTo(const class GcGeVector2d &) const –> double

dotProduct(self: pygcad.pygrx.GcGeVector2d, vec: pygcad.pygrx.GcGeVector2d) float

C++: GcGeVector2d::dotProduct(const class GcGeVector2d &) const –> double

isCodirectionalTo(*args, **kwargs)

Overloaded function.

  1. isCodirectionalTo(self: pygcad.pygrx.GcGeVector2d, vec: pygcad.pygrx.GcGeVector2d) -> bool

  2. isCodirectionalTo(self: pygcad.pygrx.GcGeVector2d, vec: pygcad.pygrx.GcGeVector2d, tol: pygcad.pygrx.GcGeTol) -> bool

C++: GcGeVector2d::isCodirectionalTo(const class GcGeVector2d &, const class GcGeTol &) const –> bool

  1. isCodirectionalTo(self: pygcad.pygrx.GcGeVector2d, vec: pygcad.pygrx.GcGeVector2d, tol: pygcad.pygrx.GcGeTol, flag: pygcad.pygrx.GcGe.ErrorCondition) -> bool

C++: GcGeVector2d::isCodirectionalTo(const class GcGeVector2d &, const class GcGeTol &, enum GcGe::ErrorCondition &) const –> bool

isEqualTo(*args, **kwargs)

Overloaded function.

  1. isEqualTo(self: pygcad.pygrx.GcGeVector2d, vec: pygcad.pygrx.GcGeVector2d) -> bool

  2. isEqualTo(self: pygcad.pygrx.GcGeVector2d, vec: pygcad.pygrx.GcGeVector2d, tol: pygcad.pygrx.GcGeTol) -> bool

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

isParallelTo(*args, **kwargs)

Overloaded function.

  1. isParallelTo(self: pygcad.pygrx.GcGeVector2d, vec: pygcad.pygrx.GcGeVector2d) -> bool

  2. isParallelTo(self: pygcad.pygrx.GcGeVector2d, vec: pygcad.pygrx.GcGeVector2d, tol: pygcad.pygrx.GcGeTol) -> bool

C++: GcGeVector2d::isParallelTo(const class GcGeVector2d &, const class GcGeTol &) const –> bool

  1. isParallelTo(self: pygcad.pygrx.GcGeVector2d, vec: pygcad.pygrx.GcGeVector2d, tol: pygcad.pygrx.GcGeTol, flag: pygcad.pygrx.GcGe.ErrorCondition) -> bool

C++: GcGeVector2d::isParallelTo(const class GcGeVector2d &, const class GcGeTol &, enum GcGe::ErrorCondition &) const –> bool

isPerpendicularTo(*args, **kwargs)

Overloaded function.

  1. isPerpendicularTo(self: pygcad.pygrx.GcGeVector2d, vec: pygcad.pygrx.GcGeVector2d) -> bool

  2. isPerpendicularTo(self: pygcad.pygrx.GcGeVector2d, vec: pygcad.pygrx.GcGeVector2d, tol: pygcad.pygrx.GcGeTol) -> bool

C++: GcGeVector2d::isPerpendicularTo(const class GcGeVector2d &, const class GcGeTol &) const –> bool

  1. isPerpendicularTo(self: pygcad.pygrx.GcGeVector2d, vec: pygcad.pygrx.GcGeVector2d, tol: pygcad.pygrx.GcGeTol, flag: pygcad.pygrx.GcGe.ErrorCondition) -> bool

C++: GcGeVector2d::isPerpendicularTo(const class GcGeVector2d &, const class GcGeTol &, enum GcGe::ErrorCondition &) const –> bool

isUnitLength(*args, **kwargs)

Overloaded function.

  1. isUnitLength(self: pygcad.pygrx.GcGeVector2d) -> bool

  2. isUnitLength(self: pygcad.pygrx.GcGeVector2d, tol: pygcad.pygrx.GcGeTol) -> bool

C++: GcGeVector2d::isUnitLength(const class GcGeTol &) const –> bool

isZeroLength(*args, **kwargs)

Overloaded function.

  1. isZeroLength(self: pygcad.pygrx.GcGeVector2d) -> bool

  2. isZeroLength(self: pygcad.pygrx.GcGeVector2d, tol: pygcad.pygrx.GcGeTol) -> bool

C++: GcGeVector2d::isZeroLength(const class GcGeTol &) const –> bool

length(self: pygcad.pygrx.GcGeVector2d) float

C++: GcGeVector2d::length() const –> double

lengthSqrd(self: pygcad.pygrx.GcGeVector2d) float

C++: GcGeVector2d::lengthSqrd() const –> double

mirror(self: pygcad.pygrx.GcGeVector2d, line: pygcad.pygrx.GcGeVector2d) pygcad.pygrx.GcGeVector2d

C++: GcGeVector2d::mirror(const class GcGeVector2d &) –> class GcGeVector2d &

negate(self: pygcad.pygrx.GcGeVector2d) pygcad.pygrx.GcGeVector2d

C++: GcGeVector2d::negate() –> class GcGeVector2d &

normal(*args, **kwargs)

Overloaded function.

  1. normal(self: pygcad.pygrx.GcGeVector2d) -> pygcad.pygrx.GcGeVector2d

  2. normal(self: pygcad.pygrx.GcGeVector2d, tol: pygcad.pygrx.GcGeTol) -> pygcad.pygrx.GcGeVector2d

C++: GcGeVector2d::normal(const class GcGeTol &) const –> class GcGeVector2d

normalize(*args, **kwargs)

Overloaded function.

  1. normalize(self: pygcad.pygrx.GcGeVector2d) -> pygcad.pygrx.GcGeVector2d

  2. normalize(self: pygcad.pygrx.GcGeVector2d, tol: pygcad.pygrx.GcGeTol) -> pygcad.pygrx.GcGeVector2d

C++: GcGeVector2d::normalize(const class GcGeTol &) –> class GcGeVector2d &

  1. normalize(self: pygcad.pygrx.GcGeVector2d, tol: pygcad.pygrx.GcGeTol, flag: pygcad.pygrx.GcGe.ErrorCondition) -> pygcad.pygrx.GcGeVector2d

C++: GcGeVector2d::normalize(const class GcGeTol &, enum GcGe::ErrorCondition &) –> class GcGeVector2d &

perpVector(self: pygcad.pygrx.GcGeVector2d) pygcad.pygrx.GcGeVector2d

C++: GcGeVector2d::perpVector() const –> class GcGeVector2d

rotateBy(self: pygcad.pygrx.GcGeVector2d, angle: float) pygcad.pygrx.GcGeVector2d

C++: GcGeVector2d::rotateBy(double) –> class GcGeVector2d &

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

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

setToProduct(*args, **kwargs)

Overloaded function.

  1. setToProduct(self: pygcad.pygrx.GcGeVector2d, mat: pygcad.pygrx.GcGeMatrix2d, vec: pygcad.pygrx.GcGeVector2d) -> pygcad.pygrx.GcGeVector2d

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

  1. setToProduct(self: pygcad.pygrx.GcGeVector2d, vec: pygcad.pygrx.GcGeVector2d, scl: float) -> pygcad.pygrx.GcGeVector2d

C++: GcGeVector2d::setToProduct(const class GcGeVector2d &, double) –> class GcGeVector2d &

setToSum(self: pygcad.pygrx.GcGeVector2d, vec1: pygcad.pygrx.GcGeVector2d, vec2: pygcad.pygrx.GcGeVector2d) pygcad.pygrx.GcGeVector2d

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

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

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