Geotools.Net

PrecisionModel Constructor (Double, Double, Double)

Constructor for Fixed Precision Model.

[Visual Basic]
Overloads Public Sub New( _
   ByVal scale As Double, _
   ByVal offsetX As Double, _
   ByVal offsetY As Double _
)
[C#]
public PrecisionModel(
   double scale,
   double offsetX,
   double offsetY
);

Parameters

scale
Amount by which to multiply a coordinate after subtracting the offset, to obtain a precise coordinate
offsetX
Amount by which to subtract the x-coordinate before multiplying by the scale, to obtain a precise coordinate.
offsetY
Amount by which to subtract the y-coordinate before multiplying by the scale, to obtain a precise coordinate.

Remarks

Fixed-precision coordinates are represented as precise internal coordinates, which are integers stored in double-precision. Input coordinates are transformed into precise internal coordinates according to the given scale, x-offset and y-offset.

See Also

PrecisionModel Class | PrecisionModel Members | Geotools.Geometries Namespace | PrecisionModel Constructor Overload List