Clothoid2D
Canonical path: NemAll_Python_Geometry.Clothoid2D
2D clothoid Representation class for 2D clothoid.
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__
–dummy, is only needed for the creation of the documentation by MkDocs
-
__mul__
–Matrix transformation.
-
__repr__
–Convert the list to a string
Attributes:
-
EndCurvature
(None
) –Get and set the end curvature property
-
EndPoint
(None
) –Get and set the end point property
-
IsReversed
(None
) –Get and set the reversed property
-
Length
(None
) –Get and set the length property
-
Parallel
(None
) –Get and set the parallel property
-
RefPoint
(None
) –Get and set the end point property
-
StartCurvature
(None
) –Get and set the start curvature property
-
StartPoint
(None
) –Get and set the start point property
-
StartVector
(None
) –Get and set the start vector property
-
Type
(None
) –Get and set the type property
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
GetStartVector
GetStartVector() -> Vector2D
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 reference to 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 reference to 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 reference to 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.