|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.graph.IlpDefaultPositionConverter
ilog.cpl.network.IlpGeographicPositionConverter
public class IlpGeographicPositionConverter
This class implements conversions between points in geographic coordinates
and in x,y coordinates, as well as the usual
conversions supported by IlpDefaultPositionConverter.
IlpGeographicPosition,
IlvProjection,
IlvProjectionUtil,
IlvMathTransform,
IlvProjectionTransform| Constructor Summary | |
|---|---|
IlpGeographicPositionConverter(IlvCoordinateTransformation transformation,
boolean invertY)
Creates a new geographic coordinates converter, based on a coordinate transformation. |
|
IlpGeographicPositionConverter(IlvCoordinateTransformation transformation,
boolean invertY,
IlvTransformer transformer)
Creates a new geographic coordinates converter, based on a coordinate transformation. |
|
IlpGeographicPositionConverter(IlvMathTransform transform)
Creates a new geographic coordinates converter, based on an ellipsoidal coordinate transform. |
|
IlpGeographicPositionConverter(IlvMathTransform transform,
IlvTransformer transformer)
Creates a new geographic coordinates converter, based on an ellipsoidal coordinate transform. |
|
IlpGeographicPositionConverter(IlvProjection projection,
boolean invertY)
Creates a new geographic coordinates converter, based on a projection. |
|
IlpGeographicPositionConverter(IlvProjection projection,
boolean invertY,
IlvTransformer transformer)
Creates a new geographic coordinates converter, based on a projection. |
|
| Method Summary | |
|---|---|
int |
getDMSFractionalDigits()
Returns the desired number of fractional digits of the seconds in the DMS representation of IlpGeographicPosition values. |
IlpPosition |
getModelPosition(IlpPosition viewLocation)
Converts a position/shape in the view to a user-defined position/shape. |
IlpPosition |
getViewLocation(IlpPosition modelPosition)
Converts a user-defined position/shape to a position/shape for the view. |
void |
setDMSFractionalDigits(int digits)
Sets the desired number of fractional digits of the seconds in the DMS representation of IlpGeographicPosition values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlpGeographicPositionConverter(IlvProjection projection,
boolean invertY)
projection - A plane-to-spherical coordinates converter.invertY - Whether to reverse top/bottom.
public IlpGeographicPositionConverter(IlvProjection projection,
boolean invertY,
IlvTransformer transformer)
projection - A plane-to-spherical coordinates converter.invertY - Whether to reverse top/bottom.transformer - An additional affine plane transform.public IlpGeographicPositionConverter(IlvMathTransform transform)
transform - A plane-to-spherical coordinates converter.
public IlpGeographicPositionConverter(IlvMathTransform transform,
IlvTransformer transformer)
transform - A plane-to-spherical coordinates converter.transformer - An additional affine plane transform.
public IlpGeographicPositionConverter(IlvCoordinateTransformation transformation,
boolean invertY)
transformation - A plane-to-spherical coordinates converter.invertY - Whether to reverse top/bottom.
public IlpGeographicPositionConverter(IlvCoordinateTransformation transformation,
boolean invertY,
IlvTransformer transformer)
transformation - A plane-to-spherical coordinates converter.invertY - Whether to reverse top/bottom.transformer - An additional affine plane transform.| Method Detail |
|---|
public int getDMSFractionalDigits()
IlpGeographicPosition values.
public void setDMSFractionalDigits(int digits)
IlpGeographicPosition values.
digits - Number of decimal digits to be kept after the decimal point of the seconds in DMS.public IlpPosition getViewLocation(IlpPosition modelPosition)
getViewLocation in interface IlpPositionConvertergetViewLocation in class IlpDefaultPositionConverterIlpPoint, IlpRect,
IlpPolyline, or IlpPolygon.public IlpPosition getModelPosition(IlpPosition viewLocation)
getModelPosition in interface IlpPositionConvertergetModelPosition in class IlpDefaultPositionConverterviewLocation - an instance of IlpPoint,
IlpRect,
IlpPolyline, or IlpPolygon
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||