|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPosition
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 |
|---|
IAngle bearing()
void bearing(IAngle angle)
double gradientFrac()
void gradientFrac(double value)
IXyz direction()
void set(IPosition that)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||