Class Slope
java.lang.Object
com.here.platform.location.integration.optimizedmap.adasattributes.Slope
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
,scala.Serializable
Slope is the angle of inclination at the point indicating the angle of inclination from this point towards the vertex.
To represent a vertex's slope exiting/entering an intersection, the point will be at 0.0 or 1.0 of the segment.
It is measured in the angle, in Decimal Degrees x 103, between the Horizontal plane and the Slope Direction.
Slope accuracy is + / - 1% over 100 meters. i.e. given a slope of certain degrees, at a distance of 100 meters,
if the height from horizontal is 10 meters, it may be within a range of 9.9m to 10.1m
param: slope Slope value in decimal degrees, multiplied by 1000. Logical range -90 to +90 degrees, currently capped to -21 to +21 degrees. 21 degree slope is 38.38 percent gradient [tan(21 degrees)]. Hence the capping of slope values (At present, worlds steepest road is below 38 percent gradient).
param: accuracy Accuracy of the slope measurement. See SlopeElevationAccuracy
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
-
Constructor Details
-
Slope
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2) -
toString
-
slope
public int slope() -
accuracy
-
getAccuracy
-
getSlope
public int getSlope()
-