package
0.0.0-20241219173913-d335b646c759
Repository: https://github.com/lddl/go-gmns.git
Documentation: pkg.go.dev
# Functions
FindMovementGeom returns movement geometry for given lines pair; ibLine - The line represents source of movement; obLine - The line represents target of movement; Notice: panics if number of points in any line is less than 2.
FindMovementType extracts movement description.
No description provided by the author
NewMovement creates pointer to the new Movement.
NewMovementsStorage returns new storage for movements.
WithAllowedAgentTypes sets allowed agent types for the link.
WithControlType sets control type for the movement.
WithGeom sets geometry [WGS84] for the link.
WithLineGeomEuclidean sets geometry [Euclidean] for the link.
WithIncomeLane sets start and end index for the lane of outcome macro link.
WithIncomeLaneSequence sets start and end index for the lane's segment of income macro link Notice: those are just indexes of incomeLaneStart and incomeLaneEnd.
WithIncomeMacroLinkID sets income macro link indetifier.
WithLanesNum sets number of lanes for the movement.
WithMacroNodeID sets parent macro node identifier.
WithMvmtTextID sets composite type for the movement.
WithLinkName sets alias for the movement.
WithOSMNodeID sets OSM node identifier.
WithOutcomeLane sets start and end index for the lane of outcome macro link.
WithOutcomeLaneSequence sets start and end index for the lane's segment of outcome macro link Notice: those are just indexes of outcomeLaneStart and outcomeLaneEnd.
WithOutcomeMacroLinkID sets outcome macro link indetifier.
WithSourceOSMNodeID sets source OSM node identifier.
WithTargetOSMNodeID sets target OSM node identifier.
WithType sets type for the movement.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Type aliases
DirectionType is just type alias for the direction of a movement (it does distinct from DirectionType in package "macro").
MovementCompositeType is just type alias for the composite movement type (combined direction and movement types).
MovementShortType is just type alias for the movement type in shorten form.
MovementsStorage is storage for the movements.
MovementType is just type alias for the movement type.