Class ALspRulerMeasurement.Segment
java.lang.Object
com.luciad.view.lightspeed.controller.ruler.ALspRulerMeasurement.Segment
- Enclosing class:
ALspRulerMeasurement
An info object containing information about a certain segment in a
ALspRulerMeasurement
.- Since:
- 2012.0
-
Constructor Summary
ConstructorDescriptionSegment
(double aLength, double aAzimuth) Creates a new Segment with the given length and azimuth. -
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the azimuth of this segment.double
Returns the length of this segment.
-
Constructor Details
-
Segment
public Segment(double aLength, double aAzimuth) Creates a new Segment with the given length and azimuth.- Parameters:
aLength
- the length.aAzimuth
- the azimuth.
-
-
Method Details
-
getLength
public double getLength()Returns the length of this segment.- Returns:
- the length.
-
getAzimuth
public double getAzimuth()Returns the azimuth of this segment.- Returns:
- the azimuth.
-