Clothoid2D
Canonical path: NemAll_Python_Geometry.Clothoid2D
Representation class for Clothoid2D.
Methods:
-
GetEndCurvature
–Get end curvature.
-
GetEndPoint
–Get end point in world coordinate system.
-
GetEndRelPoint
–Get the end point in relative coordinate system
-
GetIsReversed
–is clothoid reversed
-
GetLength
–Get length of clothoid.
-
GetParallel
–Get parallel of clothoid.
-
GetRefPoint
–Get reference point in world coordinate system
-
GetStartCurvature
–Get start curvature.
-
GetStartPoint
–Get start point in world coordinate system.
-
GetStartRelPoint
–Get the start point in relative coordinate system
-
GetStartVector
–Get start vector.
-
GetType
–Get type of clothoid.
-
Reverse
–Reverse orientation of the Clothoid
-
Set
–Initialize clothoid from clothoid.
-
SetEndCurvature
–Set end curvature of clothoid.
-
SetEndPoint
–Set end point in world coordinate system.
-
SetEndRelPoint
–Set end point in local coordinate system
-
SetLength
–Set length of clothoid.
-
SetParallel
–Set parallel of clothoid.
-
SetRefPoint
–Set reference point in world coordinate system
-
SetReversed
–Set orientation.
-
SetStartCurvature
–Set start curvature of clothoid.
-
SetStartPoint
–Set start point in world coordinate system.
-
SetStartRelPoint
–Set start point in local coordinate system
-
SetStartVector
–Set start vector.
-
SetType
–Set type of clothoid.
-
__eq__
–Comparison of clothoids without tolerance.
-
__init__
–Overloaded function. See individual overloads.
-
__mul__
–Matrix transformation.
-
__repr__
–Convert to string
Attributes:
-
EndCurvature
(float
) –Get end curvature.
-
EndPoint
(Point2D
) –Get end point in world coordinate system.
-
EndRelPoint
(Point2D
) –Get the end point in relative coordinate system
-
Length
(float
) –Get length of clothoid.
-
Parallel
(float
) –Get parallel of clothoid.
-
RefPoint
(Point2D
) –Get reference point in world coordinate system
-
StartCurvature
(float
) –Get start curvature.
-
StartPoint
(Point2D
) –Get start point in world coordinate system.
-
StartRelPoint
(Point2D
) –Get the start point in relative coordinate system
-
StartVector
(Vector2D
) –Get start vector.
-
Type
(eClothoidType
) –Get type of clothoid.
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.