 | CMVIEWSetThinRes Method |
Set polyline/polygon thinning resolution
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void SetThinRes(
double thin
)
public void SetThinRes(
double thin
)
Public Sub SetThinRes (
thin As Double
)
Public Sub SetThinRes (
thin As Double
)
public:
void SetThinRes(
double thin
)
public:
void SetThinRes(
double thin
)
member SetThinRes :
thin : float -> unit
member SetThinRes :
thin : float -> unit
Parameters
- thin
- Type: SystemDouble
Thinning resolution in mm, -1.0 to turn off.
Remarks
The thinning resolution controls the removal of
redundant points from polylines and polygons. Points
that deviate from a straight line by less than the
thinning resolution are removed. This can significantly
reduce the size of a MAP file.
We recommend that you set the thinning resolution to
0.02 mm.
By default, the thinning resolution is set to 0.05mm.
Set resolution to 0.0 to remove colinear points only.
To turn off thinning after turning it on, call
SetThinRes_MVIEW with a resolution of -1.
See Also