MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
MgCoordinateSystemGridBase Class Reference

Abstract base class for all grid generation objects (generic and specialized). More...

+ Inheritance diagram for MgCoordinateSystemGridBase:

List of all members.

Public Member Functions

virtual INT32 ApproxGridLineMemoryUsage (MgCoordinateSystemGridSpecification *specification)=0
 Calculates the approximate amount of memory required to generated grid lines for this instance.
virtual INT32 ApproxGridRegionMemoryUsage (MgCoordinateSystemGridSpecification *specification)=0
 Calculates the approximate amount of memory required to generated grid regions for this instance.
virtual INT32 ApproxGridTickMemoryUsage (MgCoordinateSystemGridSpecification *specification)=0
 Calculates the approximate amount of memory required to generated grid ticks for this instance.
virtual bool AreExceptionsOn ()=0
 Gets whether exceptions are enabled for this instance.
virtual
MgCoordinateSystemGridBoundary
GetBoundary (void)=0
 Gets the boundary of this grid instance.
virtual double GetConvergenceAngle (MgCoordinate *location)=0
 Gets the convergence angle for the given location.
virtual
MgCoordinateSystemGridLineCollection
GetGridLines (MgCoordinateSystemGridSpecification *specification)=0
 Gets the grid lines for this grid instance for the given grid specification.
virtual
MgCoordinateSystemGridRegionCollection
GetGridRegions (MgCoordinateSystemGridSpecification *specification)=0
 Gets the grid regions for this grid instance for the given grid specification.
virtual
MgCoordinateSystemGridTickCollection
GetGridTicks (MgCoordinateSystemGridSpecification *specification)=0
 Generates grid ticks for the grid boundary.
virtual INT32 GetLastError ()=0
 Returns the last error code.
virtual double GetProjectiveGridScale (MgCoordinate *location)=0
 Gets the projective grid scale for the given location.
virtual INT32 GetSpecializationType ()=0
 Gets the specialized type of this grid instance. Value can be any value from MgCoordinateSystemGridSpecializationType.
virtual void ResetLastError ()=0
 Resets the last error code.
virtual void SetBoundary (MgCoordinateSystemGridBoundary *pGridBoundary)=0
 Sets the boundary of this grid instance.
virtual void SetExceptionsOn (bool bOn)=0
 Enables or disables exceptions for this instance.
virtual INT32 SetGridLineExceptionLevel (INT32 memoryUseMax)=0
 Sets the amount of memory at which an exception will be thrown if generating a grid line collection that would exceed the specified value in memory usage.
virtual INT32 SetGridRegionExceptionLevel (INT32 memoryUseMax)=0
 Sets the amount of memory at which an exception will be thrown if generating a grid region collection that would exceed the specified value in memory usage.
virtual INT32 SetGridTickExceptionLevel (INT32 memoryUseMax)=0
 Sets the amount of memory at which an exception will be thrown if generating a grid tick collection that would exceed the specified value in memory usage.

Detailed Description

Abstract base class for all grid generation objects (generic and specialized).

Since:
2.2