Point
Description
The Point object represents a point in the current RoadRunner scenario. Points define location and orientation data for other scenario
objects, such as actors. You can also use multiple points to design and modify the shape and
position of a route. You can use a Point object to modify the attributes of
points within your scenario.
Creation
To retrieve a Point object from your RoadRunner scenario, extract the InitialPoint or
Point property of an actor or route, respectively. For example,
carPoint = car.InitialPoint extracts the InitialPoint
property of the actor car and assigns it to the variable
carPoint.
You can also use the addPoint function to add a
new point to the end of the specified route at the specified position.
Properties
Object Functions
anchorToPoint | Set specified point as anchor |
autoAnchor | Anchor point to nearest road |
Examples
Version History
Introduced in R2025a
See Also
autoAnchor | addPoint | anchorToPoint | Route | RouteSegment