This document is archived and information here might be outdated. Recommended version. |
Applies the XY precision.
[Visual Basic .NET] Public Sub ApplyXYPrecision ( _ ByVal cPoints As Integer, _ ByRef Points As WKSPoint _ )
[C#] public void ApplyXYPrecision ( int cPoints, ref WKSPoint Points );
[C++]
HRESULT ApplyXYPrecision(
long cPoints,
WKSPoint* Points
);
[C++] Parameters cPoints
cPoints is a parameter of type long Points
Points is a parameter of type WKSPoint*
The ApplyXYPrecision method snaps XY coordinate values to the spatial reference's coordinate grid. Normally, the geodatabase calls this method when appropriate, however you may need to use it when comparing locally generated coordinates against features coming from a geodatabase.
The cPoints value is the number of points to which you wish to apply the XY precision (1/resolution). A WKSPoint is a structure that contains the X and Y values of a coordinate pair.