Clothoid2D
Canonical path: NemAll_Python_Geometry.Clothoid2D
Representation class for Clothoid2D.
StartRelPoint
property
writable
StartRelPoint: Point2D
Get the start point in relative coordinate system
GetEndCurvature
Get end curvature.
Returns:
-
float
–double end curvature of clothoid.
GetEndPoint
GetEndPoint() -> Point2D
GetEndRelPoint
GetEndRelPoint() -> Point2D
GetParallel
Get parallel of clothoid.
Returns:
-
float
–double parallel of clothoid.
GetRefPoint
GetRefPoint() -> Point2D
GetStartCurvature
Get start curvature.
Returns:
-
float
–double start curvature of clothoid.
GetStartPoint
GetStartPoint() -> Point2D
GetStartRelPoint
GetStartRelPoint() -> Point2D
GetType
GetType() -> eClothoidType
Set
Set(clothoid: Clothoid2D)
SetEndCurvature
Set end curvature of clothoid.
Parameters:
-
curvature
(float
) –end curvature of clothoid
SetEndPoint
SetEndPoint(point: Point2D)
Set end point in world coordinate system.
Parameters:
-
point
(Point2D
) –const Point2D in World coordinate system.
SetEndRelPoint
SetEndRelPoint(point: Point2D)
Set end point in local coordinate system
Parameters:
-
point
(Point2D
) –Point2D in local coordinate system
SetLength
Set length of clothoid.
Parameters:
-
length
(float
) –length of clothoid.
SetParallel
Set parallel of clothoid.
Parameters:
-
parallel
(float
) –length of clothoid.
SetRefPoint
SetRefPoint(refPoint: Point2D)
Set reference point in world coordinate system
Parameters:
-
refPoint
(Point2D
) –const Point2D in World coordinate system.
SetReversed
Set orientation.
Parameters:
-
flag
(bool
) –true for reversed, false normal orientation.
SetStartCurvature
Set start curvature of clothoid.
Parameters:
-
curvature
(float
) –start curvature of clothoid
SetStartPoint
SetStartPoint(point: Point2D)
Set start point in world coordinate system.
Parameters:
-
point
(Point2D
) –const Point2D in World coordinate system.
SetStartRelPoint
SetStartRelPoint(point: Point2D)
Set start point in local coordinate system
Parameters:
-
point
(Point2D
) –Point2D in local coordinate system
SetStartVector
SetStartVector(vec: Vector2D)
SetType
SetType(type: eClothoidType)
__eq__
__eq__(clothoid: Clothoid2D) -> object
Comparison of clothoids without tolerance.
Be careful, this method work without tolerance!
Parameters:
-
clothoid
(Clothoid2D
) –Compared clothoid.
Returns:
-
object
–True when clothoids are equal, otherwise false.
__mul__
__mul__(matrix: Matrix2D) -> Clothoid2D
Matrix transformation.
Parameters:
-
matrix
(Matrix2D
) –transformation matrix.
Returns:
-
Clothoid2D
–Clothoid2D transformed clothoid.