public class Ilv3DLinearCoordinateConverter extends Object implements Ilv3DCoordinateConverter
Ilv3DCoordinateConverter
that scales values along
the elevation axis (see height exaggeration setting on the Ilv3DView
).Constructor and Description |
---|
Ilv3DLinearCoordinateConverter(double heightExaggerationFactor)
Constructs an
Ilv3DLinearCoordinateConverter with the specified height exaggeration factor.
1.0 means no exaggeration. |
Modifier and Type | Method and Description |
---|---|
Ilv3DVertex |
convertTo3DVertex(IlvGeographicPoint geoPoint)
Converts an
IlvGeographicPoint (longitude, latitude, altitude) to anIlv3DVertex
(that is a point in 3D space coordinates). |
IlvGeographicPoint |
convertToGeographicPoint(Ilv3DVertex vertex)
Converts a 3D space
Ilv3DVertex (X,Y,Z) to an IlvGeographicPoint
(longitude, latitude, altitude). |
double |
getHeightExaggeration()
Returns the height exaggeration factor of this
Ilv3DLinearCoordinateConverter . |
void |
setHeightExaggeration(double heightExaggeration)
Sets the height exaggeration factor of this
Ilv3DLinearCoordinateConverter . |
public Ilv3DLinearCoordinateConverter(double heightExaggerationFactor)
Ilv3DLinearCoordinateConverter
with the specified height exaggeration factor.
1.0 means no exaggeration.heightExaggerationFactor
- The height exaggeration factor.public Ilv3DVertex convertTo3DVertex(IlvGeographicPoint geoPoint)
IlvGeographicPoint
(longitude, latitude, altitude) to anIlv3DVertex
(that is a point in 3D space coordinates).convertTo3DVertex
in interface Ilv3DCoordinateConverter
geoPoint
- The IlvGeographicPoint
to convert.Ilv3DVertex
public IlvGeographicPoint convertToGeographicPoint(Ilv3DVertex vertex)
Ilv3DVertex
(X,Y,Z) to an IlvGeographicPoint
(longitude, latitude, altitude).convertToGeographicPoint
in interface Ilv3DCoordinateConverter
vertex
- The Ilv3DVertex
to convert.IlvGeographicPoint
public double getHeightExaggeration()
Ilv3DLinearCoordinateConverter
.public void setHeightExaggeration(double heightExaggeration)
Ilv3DLinearCoordinateConverter
.heightExaggeration
- The height exaggeration factor.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.