MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual void MgCoordinateSystemGridSpecification::SetMaxCurvePoints ( INT32  maxCurvePoints) [pure virtual]

Sets the maximum number of points to generate for a complex curve approximation.

.NET Syntax
virtual void SetMaxCurvePoints (double curvePrecision);
Java Syntax
virtual void SetMaxCurvePoints (double curvePrecision);
PHP Syntax
virtual void SetMaxCurvePoints (double curvePrecision);
Parameters:
maxCurvePoints(INT32) The desired maximum number of points to be generated for a complex curve approximation. Default is 511.
Remarks:
Generating a grid line of one coordinate system in the model space based on another coordinate system requires that an approximation of the complex curve be generated by a series of straight line segments. Use this value to limit the number of points generated to a specific value. The traditional, and default, value is 511. Large values will significantly increase memeory usage and reduce performance. Using a smaller value is an easy way to reduce memory consumption.