package
0.0.0-20241219173913-d335b646c759
Repository: https://github.com/lddl/go-gmns.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
NewNet returns pointer to the new macroscopic road network data.
NewLinkFrom creates pointer to the new Node.
WithActivityLinkType sets incident link type.
WithAllowedAgentTypes sets allowed agent types for the link.
WithBoundaryType sets boundary type for the node.
WithCapacity sets max capacity for the link.
WithControlType sets the control type for the link.
WithFreeSpeed sets free flow speed for the link.
WithIncomingLinks appends given incoming mesoscopic links to the set of existing incoming links.
WithIsConnection sets whether the given link is a connection between two other mesoscopic links.
WithLanesChange sets the lanes change array for the Link.
WithLanesNum sets number of lanes for the link.
WithLengthMeters sets underlying geometry [WGS84] length in meters.
WithLineGeom sets geometry [WGS84] for the link.
WithLineGeomEuclidean sets geometry [Euclidean] for the link.
WithLineMacroLinkID sets parent macro link identifier.
WithLineMacroNodeID sets parent macro node identifier.
WithLinkType sets the link typk.
WithMacroZone sets parent macroscopic node's zone indetifier.
WithMovementCompositeType sets the movement composite type for the link.
WithMovementID sets the movement identifier for the link.
WithMovementIncomeLaneStartSeqID sets the income lane start sequence ID for the link.
WithMovementMesoLinkIncome sets the incoming mesoscopic link ID for the link.
WithMovementMesoLinkOutcome sets the outgoing mesoscopic link ID for the link.
WithMovementOutcomeLaneStartSeqID sets the outcome lane start sequence ID for the link.
WithOutcomingLinks appends given outcoming mesoscopic links to the set of existing outcoming links.
WithPointGeomEuclidean sets geometry [Euclidean] for the node.
WithPointGeom sets geometry [WGS84] for the node.
WithPointMacroLinkID sets parent macro link identifier.
WithPointMacroNodeID sets parent macro node identifier.
WithSegmentIdx sets the segment index (inside of parent macroscopic link) for the given link.
WithSourceNodeID sets source node identifier.
WithTargetNodeID sets target node identifier.
# Variables
No description provided by the author
No description provided by the author