com.azalient.api.a.position
Interface ILaneLocation

All Superinterfaces:
IXy, IXyz, OpenGLXyz, Serializable

public interface ILaneLocation
extends IXyz

This object represents a location for an object such as a Stand, a Sign or a Loop, as a Lane and a distance along that Lane


Field Summary
 
Fields inherited from interface com.azalient.api.a.position.IXyz
ZERO_ARRAY
 
Method Summary
 IAngle bearing()
          The bearing angle (from North) of the tangent to the lane centreline at the location point
 double distance()
          The distance of the point from the START of the Lane
 void distance(double d)
          Move the locator along the lane.
 double distanceToEnd()
          The distance of the point from the END of the Lane
 ILane lane()
          The lane to which this location relates.
 double laneWidth()
          The width of the lane at this location
 ILink link()
          The link to which the lane belongs.
 double offset()
          The sideways offset of the device from the lane
 double size()
          The length of the device [length() is used by the subclass Xyz]
 double width()
          The width of the device
 
Methods inherited from interface com.azalient.api.a.position.IXyz
abZ, add, angleBetween, asBearing, asDouble3, asGradient, atZERO, bearingTo, copy, cross, crossWith, distance, distance, divide, dividedBy, dot, gradientToFrac, isFinite, length, lengthSquared, minus, multipliedBy, multiply, nearestPointOn, nearestPointOnLine, negate, negative, normalized, parallelComponent, parallelComponentMag, perpComponent, plus, rotate, rotate, rotationAsMove, rotationAsMove, scale, selfNormalize, set, set, subtract, toRightOf, transform, truncateLength, v, v, x, x, y, y, z, z
 
Methods inherited from interface com.azalient.api.a.position.IXy
distance
 

Method Detail

lane

ILane lane()
The lane to which this location relates. If the lane has just been deleted, this may return null.


link

ILink link()
The link to which the lane belongs. If the lane or link have been deleted, this may return null.


distance

double distance()
The distance of the point from the START of the Lane


distanceToEnd

double distanceToEnd()
The distance of the point from the END of the Lane


laneWidth

double laneWidth()
The width of the lane at this location


size

double size()
The length of the device [length() is used by the subclass Xyz]


width

double width()
The width of the device


offset

double offset()
The sideways offset of the device from the lane


distance

void distance(double d)
Move the locator along the lane. Distance must be zero or above, and normally up to the length of the lane, but can exceed this where there is an outgoing stream with an advance stop line


bearing

IAngle bearing()
The bearing angle (from North) of the tangent to the lane centreline at the location point