GcGeCurve2d

class pygcad.pygrx.GcGeCurve2d

Bases: GcGeEntity2d

Methods Summary

area(self, startParam, endParam, tol)

C++: GcGeCurve2d::area(double, double, double &, const class GcGeTol &) const --> bool

assign(self, curve)

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

closestPointTo(*args, **kwargs)

Overloaded function.

distanceTo(*args, **kwargs)

Overloaded function.

evalPoint(self, param)

C++: GcGeCurve2d::evalPoint(double) const --> class GcGePoint2d

getClosestPointTo(*args, **kwargs)

Overloaded function.

getInterval(*args, **kwargs)

Overloaded function.

getLocalClosestPoints(*args, **kwargs)

Overloaded function.

getNormalPoint(*args, **kwargs)

Overloaded function.

getSamplePoints(self, numSample, para)

C++: GcGeCurve2d::getSamplePoints(int, class GcArray<class GcGePoint2d, class GcArrayMemCopyReallocator<class GcGePoint2d> > &) const --> void

getTrimmedOffset(*args, **kwargs)

Overloaded function.

hasEndPoint(self, endPoint)

C++: GcGeCurve2d::hasEndPoint(class GcGePoint2d &) const --> bool

hasStartPoint(self, startPoint)

C++: GcGeCurve2d::hasStartPoint(class GcGePoint2d &) const --> bool

isClosed(*args, **kwargs)

Overloaded function.

isDegenerate(*args, **kwargs)

Overloaded function.

isLinear(*args, **kwargs)

Overloaded function.

isOn(*args, **kwargs)

Overloaded function.

isPeriodic(self)

C++: GcGeCurve2d::isPeriodic(double &) const --> bool

length(*args, **kwargs)

Overloaded function.

paramAtLength(*args, **kwargs)

Overloaded function.

paramOf(*args, **kwargs)

Overloaded function.

reverseParam(self)

C++: GcGeCurve2d::reverseParam() --> class GcGeCurve2d &

setInterval(*args, **kwargs)

Overloaded function.

Methods Documentation

area(self: pygcad.pygrx.GcGeCurve2d, startParam: float, endParam: float, tol: pygcad.pygrx.GcGeTol = <pygcad.pygrx.GcGeTol object at 0x0000022C03D6CDF0>) Tuple[bool, float]

C++: GcGeCurve2d::area(double, double, double &, const class GcGeTol &) const –> bool

assign(self: pygcad.pygrx.GcGeCurve2d, curve: pygcad.pygrx.GcGeCurve2d) pygcad.pygrx.GcGeCurve2d

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

closestPointTo(*args, **kwargs)

Overloaded function.

  1. closestPointTo(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d) -> GcGePoint2d

  2. closestPointTo(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d, tol: pygcad.pygrx.GcGeTol) -> GcGePoint2d

C++: GcGeCurve2d::closestPointTo(const class GcGePoint2d &, const class GcGeTol &) const –> class GcGePoint2d

  1. closestPointTo(self: pygcad.pygrx.GcGeCurve2d, curve2d: pygcad.pygrx.GcGeCurve2d, pntOnOtherCrv: GcGePoint2d) -> GcGePoint2d

  2. closestPointTo(self: pygcad.pygrx.GcGeCurve2d, curve2d: pygcad.pygrx.GcGeCurve2d, pntOnOtherCrv: GcGePoint2d, tol: pygcad.pygrx.GcGeTol) -> GcGePoint2d

C++: GcGeCurve2d::closestPointTo(const class GcGeCurve2d &, class GcGePoint2d &, const class GcGeTol &) const –> class GcGePoint2d

distanceTo(*args, **kwargs)

Overloaded function.

  1. distanceTo(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d) -> float

  2. distanceTo(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d, para: pygcad.pygrx.GcGeTol) -> float

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

  1. distanceTo(self: pygcad.pygrx.GcGeCurve2d, para: pygcad.pygrx.GcGeCurve2d) -> float

  2. distanceTo(self: pygcad.pygrx.GcGeCurve2d, para: pygcad.pygrx.GcGeCurve2d, tol: pygcad.pygrx.GcGeTol) -> float

C++: GcGeCurve2d::distanceTo(const class GcGeCurve2d &, const class GcGeTol &) const –> double

evalPoint(self: pygcad.pygrx.GcGeCurve2d, param: float) GcGePoint2d

C++: GcGeCurve2d::evalPoint(double) const –> class GcGePoint2d

getClosestPointTo(*args, **kwargs)

Overloaded function.

  1. getClosestPointTo(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d, pntOnCrv: GcGePointOnCurve2d) -> None

  2. getClosestPointTo(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d, pntOnCrv: GcGePointOnCurve2d, tol: pygcad.pygrx.GcGeTol) -> None

C++: GcGeCurve2d::getClosestPointTo(const class GcGePoint2d &, class GcGePointOnCurve2d &, const class GcGeTol &) const –> void

  1. getClosestPointTo(self: pygcad.pygrx.GcGeCurve2d, curve2d: pygcad.pygrx.GcGeCurve2d, pntOnThisCrv: GcGePointOnCurve2d, pntOnOtherCrv: GcGePointOnCurve2d) -> None

  2. getClosestPointTo(self: pygcad.pygrx.GcGeCurve2d, curve2d: pygcad.pygrx.GcGeCurve2d, pntOnThisCrv: GcGePointOnCurve2d, pntOnOtherCrv: GcGePointOnCurve2d, tol: pygcad.pygrx.GcGeTol) -> None

C++: GcGeCurve2d::getClosestPointTo(const class GcGeCurve2d &, class GcGePointOnCurve2d &, class GcGePointOnCurve2d &, const class GcGeTol &) const –> void

getInterval(*args, **kwargs)

Overloaded function.

  1. getInterval(self: pygcad.pygrx.GcGeCurve2d, intrvl: GcGeInterval) -> None

C++: GcGeCurve2d::getInterval(class GcGeInterval &) const –> void

  1. getInterval(self: pygcad.pygrx.GcGeCurve2d, intrvl: GcGeInterval, start: GcGePoint2d, end: GcGePoint2d) -> None

C++: GcGeCurve2d::getInterval(class GcGeInterval &, class GcGePoint2d &, class GcGePoint2d &) const –> void

getLocalClosestPoints(*args, **kwargs)

Overloaded function.

  1. getLocalClosestPoints(self: pygcad.pygrx.GcGeCurve2d, point: GcGePoint2d, approxPnt: GcGePointOnCurve2d) -> None

  2. getLocalClosestPoints(self: pygcad.pygrx.GcGeCurve2d, point: GcGePoint2d, approxPnt: GcGePointOnCurve2d, nbhd: GcGeInterval) -> None

  3. getLocalClosestPoints(self: pygcad.pygrx.GcGeCurve2d, point: GcGePoint2d, approxPnt: GcGePointOnCurve2d, nbhd: GcGeInterval, para: pygcad.pygrx.GcGeTol) -> None

C++: GcGeCurve2d::getLocalClosestPoints(const class GcGePoint2d &, class GcGePointOnCurve2d &, const class GcGeInterval *, const class GcGeTol &) const –> void

  1. getLocalClosestPoints(self: pygcad.pygrx.GcGeCurve2d, otherCurve: pygcad.pygrx.GcGeCurve2d, approxPntOnThisCrv: GcGePointOnCurve2d, approxPntOnOtherCrv: GcGePointOnCurve2d) -> None

  2. getLocalClosestPoints(self: pygcad.pygrx.GcGeCurve2d, otherCurve: pygcad.pygrx.GcGeCurve2d, approxPntOnThisCrv: GcGePointOnCurve2d, approxPntOnOtherCrv: GcGePointOnCurve2d, nbhd1: GcGeInterval) -> None

  3. getLocalClosestPoints(self: pygcad.pygrx.GcGeCurve2d, otherCurve: pygcad.pygrx.GcGeCurve2d, approxPntOnThisCrv: GcGePointOnCurve2d, approxPntOnOtherCrv: GcGePointOnCurve2d, nbhd1: GcGeInterval, nbhd2: GcGeInterval) -> None

  4. getLocalClosestPoints(self: pygcad.pygrx.GcGeCurve2d, otherCurve: pygcad.pygrx.GcGeCurve2d, approxPntOnThisCrv: GcGePointOnCurve2d, approxPntOnOtherCrv: GcGePointOnCurve2d, nbhd1: GcGeInterval, nbhd2: GcGeInterval, tol: pygcad.pygrx.GcGeTol) -> None

C++: GcGeCurve2d::getLocalClosestPoints(const class GcGeCurve2d &, class GcGePointOnCurve2d &, class GcGePointOnCurve2d &, const class GcGeInterval *, const class GcGeInterval *, const class GcGeTol &) const –> void

getNormalPoint(*args, **kwargs)

Overloaded function.

  1. getNormalPoint(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d, pntOnCrv: GcGePointOnCurve2d) -> bool

  2. getNormalPoint(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d, pntOnCrv: GcGePointOnCurve2d, tol: pygcad.pygrx.GcGeTol) -> bool

C++: GcGeCurve2d::getNormalPoint(const class GcGePoint2d &, class GcGePointOnCurve2d &, const class GcGeTol &) const –> bool

getSamplePoints(self: pygcad.pygrx.GcGeCurve2d, numSample: int, para: pygcad.pygrx.GcGePoint2dArray) None

C++: GcGeCurve2d::getSamplePoints(int, class GcArray<class GcGePoint2d, class GcArrayMemCopyReallocator<class GcGePoint2d> > &) const –> void

getTrimmedOffset(*args, **kwargs)

Overloaded function.

  1. getTrimmedOffset(self: pygcad.pygrx.GcGeCurve2d, distance: float, offsetCurveList: GcArray<void * __ptr64,GcArrayMemCopyReallocator<void * __ptr64> >) -> None

  2. getTrimmedOffset(self: pygcad.pygrx.GcGeCurve2d, distance: float, offsetCurveList: GcArray<void * __ptr64,GcArrayMemCopyReallocator<void * __ptr64> >, extensionType: GcGe::OffsetCrvExtType) -> None

  3. getTrimmedOffset(self: pygcad.pygrx.GcGeCurve2d, distance: float, offsetCurveList: GcArray<void * __ptr64,GcArrayMemCopyReallocator<void * __ptr64> >, extensionType: GcGe::OffsetCrvExtType, para: pygcad.pygrx.GcGeTol) -> None

C++: GcGeCurve2d::getTrimmedOffset(double, class GcArray<void *, class GcArrayMemCopyReallocator<void *> > &, enum GcGe::OffsetCrvExtType, const class GcGeTol &) const –> void

hasEndPoint(self: pygcad.pygrx.GcGeCurve2d, endPoint: GcGePoint2d) bool

C++: GcGeCurve2d::hasEndPoint(class GcGePoint2d &) const –> bool

hasStartPoint(self: pygcad.pygrx.GcGeCurve2d, startPoint: GcGePoint2d) bool

C++: GcGeCurve2d::hasStartPoint(class GcGePoint2d &) const –> bool

isClosed(*args, **kwargs)

Overloaded function.

  1. isClosed(self: pygcad.pygrx.GcGeCurve2d) -> bool

  2. isClosed(self: pygcad.pygrx.GcGeCurve2d, tol: pygcad.pygrx.GcGeTol) -> bool

C++: GcGeCurve2d::isClosed(const class GcGeTol &) const –> bool

isDegenerate(*args, **kwargs)

Overloaded function.

  1. isDegenerate(self: pygcad.pygrx.GcGeCurve2d, degenerateType: GcGe::EntityId) -> bool

  2. isDegenerate(self: pygcad.pygrx.GcGeCurve2d, degenerateType: GcGe::EntityId, tol: pygcad.pygrx.GcGeTol) -> bool

C++: GcGeCurve2d::isDegenerate(enum GcGe::EntityId &, const class GcGeTol &) const –> bool

isLinear(*args, **kwargs)

Overloaded function.

  1. isLinear(self: pygcad.pygrx.GcGeCurve2d, line: GcGeLine2d) -> bool

  2. isLinear(self: pygcad.pygrx.GcGeCurve2d, line: GcGeLine2d, tol: pygcad.pygrx.GcGeTol) -> bool

C++: GcGeCurve2d::isLinear(class GcGeLine2d &, const class GcGeTol &) const –> bool

isOn(*args, **kwargs)

Overloaded function.

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

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

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

  1. isOn(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d, tol: pygcad.pygrx.GcGeTol = <pygcad.pygrx.GcGeTol object at 0x0000022C03E7ACF0>) -> Tuple[bool, float]

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

  1. isOn(self: pygcad.pygrx.GcGeCurve2d, param: float) -> bool

  2. isOn(self: pygcad.pygrx.GcGeCurve2d, param: float, tol: pygcad.pygrx.GcGeTol) -> bool

C++: GcGeCurve2d::isOn(double, const class GcGeTol &) const –> bool

isPeriodic(self: pygcad.pygrx.GcGeCurve2d) Tuple[bool, float]

C++: GcGeCurve2d::isPeriodic(double &) const –> bool

length(*args, **kwargs)

Overloaded function.

  1. length(self: pygcad.pygrx.GcGeCurve2d, fromParam: float, toParam: float) -> float

  2. length(self: pygcad.pygrx.GcGeCurve2d, fromParam: float, toParam: float, tol: float) -> float

C++: GcGeCurve2d::length(double, double, double) const –> double

paramAtLength(*args, **kwargs)

Overloaded function.

  1. paramAtLength(self: pygcad.pygrx.GcGeCurve2d, datumParam: float, length: float) -> float

  2. paramAtLength(self: pygcad.pygrx.GcGeCurve2d, datumParam: float, length: float, posParamDir: bool) -> float

  3. paramAtLength(self: pygcad.pygrx.GcGeCurve2d, datumParam: float, length: float, posParamDir: bool, tol: float) -> float

C++: GcGeCurve2d::paramAtLength(double, double, bool, double) const –> double

paramOf(*args, **kwargs)

Overloaded function.

  1. paramOf(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d) -> float

  2. paramOf(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d, tol: pygcad.pygrx.GcGeTol) -> float

C++: GcGeCurve2d::paramOf(const class GcGePoint2d &, const class GcGeTol &) const –> double

reverseParam(self: pygcad.pygrx.GcGeCurve2d) pygcad.pygrx.GcGeCurve2d

C++: GcGeCurve2d::reverseParam() –> class GcGeCurve2d &

setInterval(*args, **kwargs)

Overloaded function.

  1. setInterval(self: pygcad.pygrx.GcGeCurve2d) -> pygcad.pygrx.GcGeCurve2d

C++: GcGeCurve2d::setInterval() –> class GcGeCurve2d &

  1. setInterval(self: pygcad.pygrx.GcGeCurve2d, intrvl: GcGeInterval) -> bool

C++: GcGeCurve2d::setInterval(const class GcGeInterval &) –> bool