com.azalient.api.a.position
Interface IPosition

All Superinterfaces:
IXy, IXyz, OpenGLXyz, Serializable

public interface IPosition
extends IXyz

An extension to the IXyz object, providing also a directional bearing and a gradient


Field Summary
 
Fields inherited from interface com.azalient.api.a.position.IXyz
ZERO_ARRAY
 
Method Summary
 IAngle bearing()
          Returns the bearing angle, relative to north
 void bearing(IAngle angle)
          Sets the bearing angle, relative to north
 IXyz direction()
          Return the slope of the bearing and gradient angles as an X-Y-Z vector
 double gradientFrac()
          Returns the fractional gradient, the ratio z/x, where z is the change in elevation and x is the distance along the flat
 void gradientFrac(double value)
          Set the fractional gradient
 void set(IPosition that)
          Copy this position from another
 
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

bearing

IAngle bearing()
Returns the bearing angle, relative to north


bearing

void bearing(IAngle angle)
Sets the bearing angle, relative to north


gradientFrac

double gradientFrac()
Returns the fractional gradient, the ratio z/x, where z is the change in elevation and x is the distance along the flat


gradientFrac

void gradientFrac(double value)
Set the fractional gradient


direction

IXyz direction()
Return the slope of the bearing and gradient angles as an X-Y-Z vector


set

void set(IPosition that)
Copy this position from another