This document is archived and information here might be outdated. Recommended version. |
Applies the measure and z value precisions.
[Visual Basic .NET] Public Sub ApplyPrecision ( _ ByVal cPoints As Integer, _ ByRef Points As WKSPoint, _ ByRef ms As Double, _ ByRef zs As Double _ )
[C#] public void ApplyPrecision ( int cPoints, ref WKSPoint Points, ref double ms, ref double zs );
[C++]
HRESULT ApplyPrecision(
long cPoints,
WKSPoint* Points,
System.Double* ms,
System.Double* zs
);
[C++] Parameters cPoints
cPoints is a parameter of type long Points
Points is a parameter of type WKSPoint* ms
ms is a parameter of type double* zs
zs is a parameter of type double*
The ApplyPrecision method snaps measure or z values to the spatial reference grid. Each SpatialReference has an extent and a resolution (1/precision) for the xy, z, and measure values. You can set this information with the SetZDomain, SetMDomain, SetZFalseOriginAndUnits or the SetMFalseOriginAndUnits methods. If you use a Domain method, the resolution (1/precision) is calculated from the given extent. The FalseOriginAndUnits methods sets the lower bound of the extent and explicitly defines the precision (units, or 1/resolution) of the spatial reference.