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.
closestPointTo(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d) -> GcGePoint2d
closestPointTo(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d, tol: pygcad.pygrx.GcGeTol) -> GcGePoint2d
C++: GcGeCurve2d::closestPointTo(const class GcGePoint2d &, const class GcGeTol &) const –> class GcGePoint2d
closestPointTo(self: pygcad.pygrx.GcGeCurve2d, curve2d: pygcad.pygrx.GcGeCurve2d, pntOnOtherCrv: GcGePoint2d) -> GcGePoint2d
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.
distanceTo(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d) -> float
distanceTo(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d, para: pygcad.pygrx.GcGeTol) -> float
C++: GcGeCurve2d::distanceTo(const class GcGePoint2d &, const class GcGeTol &) const –> double
distanceTo(self: pygcad.pygrx.GcGeCurve2d, para: pygcad.pygrx.GcGeCurve2d) -> float
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.
getClosestPointTo(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d, pntOnCrv: GcGePointOnCurve2d) -> None
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
getClosestPointTo(self: pygcad.pygrx.GcGeCurve2d, curve2d: pygcad.pygrx.GcGeCurve2d, pntOnThisCrv: GcGePointOnCurve2d, pntOnOtherCrv: GcGePointOnCurve2d) -> None
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.
getInterval(self: pygcad.pygrx.GcGeCurve2d, intrvl: GcGeInterval) -> None
C++: GcGeCurve2d::getInterval(class GcGeInterval &) const –> void
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.
getLocalClosestPoints(self: pygcad.pygrx.GcGeCurve2d, point: GcGePoint2d, approxPnt: GcGePointOnCurve2d) -> None
getLocalClosestPoints(self: pygcad.pygrx.GcGeCurve2d, point: GcGePoint2d, approxPnt: GcGePointOnCurve2d, nbhd: GcGeInterval) -> None
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
getLocalClosestPoints(self: pygcad.pygrx.GcGeCurve2d, otherCurve: pygcad.pygrx.GcGeCurve2d, approxPntOnThisCrv: GcGePointOnCurve2d, approxPntOnOtherCrv: GcGePointOnCurve2d) -> None
getLocalClosestPoints(self: pygcad.pygrx.GcGeCurve2d, otherCurve: pygcad.pygrx.GcGeCurve2d, approxPntOnThisCrv: GcGePointOnCurve2d, approxPntOnOtherCrv: GcGePointOnCurve2d, nbhd1: GcGeInterval) -> None
getLocalClosestPoints(self: pygcad.pygrx.GcGeCurve2d, otherCurve: pygcad.pygrx.GcGeCurve2d, approxPntOnThisCrv: GcGePointOnCurve2d, approxPntOnOtherCrv: GcGePointOnCurve2d, nbhd1: GcGeInterval, nbhd2: GcGeInterval) -> None
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.
getNormalPoint(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d, pntOnCrv: GcGePointOnCurve2d) -> bool
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.
getTrimmedOffset(self: pygcad.pygrx.GcGeCurve2d, distance: float, offsetCurveList: GcArray<void * __ptr64,GcArrayMemCopyReallocator<void * __ptr64> >) -> None
getTrimmedOffset(self: pygcad.pygrx.GcGeCurve2d, distance: float, offsetCurveList: GcArray<void * __ptr64,GcArrayMemCopyReallocator<void * __ptr64> >, extensionType: GcGe::OffsetCrvExtType) -> None
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.
isClosed(self: pygcad.pygrx.GcGeCurve2d) -> bool
isClosed(self: pygcad.pygrx.GcGeCurve2d, tol: pygcad.pygrx.GcGeTol) -> bool
C++: GcGeCurve2d::isClosed(const class GcGeTol &) const –> bool
- isDegenerate(*args, **kwargs)
Overloaded function.
isDegenerate(self: pygcad.pygrx.GcGeCurve2d, degenerateType: GcGe::EntityId) -> bool
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.
isLinear(self: pygcad.pygrx.GcGeCurve2d, line: GcGeLine2d) -> bool
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.
isOn(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d) -> bool
isOn(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d, tol: pygcad.pygrx.GcGeTol) -> bool
C++: GcGeCurve2d::isOn(const class GcGePoint2d &, const class GcGeTol &) const –> bool
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
isOn(self: pygcad.pygrx.GcGeCurve2d, param: float) -> bool
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.
length(self: pygcad.pygrx.GcGeCurve2d, fromParam: float, toParam: float) -> float
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.
paramAtLength(self: pygcad.pygrx.GcGeCurve2d, datumParam: float, length: float) -> float
paramAtLength(self: pygcad.pygrx.GcGeCurve2d, datumParam: float, length: float, posParamDir: bool) -> float
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.
paramOf(self: pygcad.pygrx.GcGeCurve2d, pnt: GcGePoint2d) -> float
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.
setInterval(self: pygcad.pygrx.GcGeCurve2d) -> pygcad.pygrx.GcGeCurve2d
C++: GcGeCurve2d::setInterval() –> class GcGeCurve2d &
setInterval(self: pygcad.pygrx.GcGeCurve2d, intrvl: GcGeInterval) -> bool
C++: GcGeCurve2d::setInterval(const class GcGeInterval &) –> bool