NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
IGrid Class Referenceabstract

Provides access to members that identify a grid. More...

#include <geometry.h>

Inheritance diagram for IGrid:
IGeometry ISDKComponent

Public Member Functions

virtual SDKResult SDK_CALLTYPE GetBounds (SDKUInt8 axis, SDKAnyType type, void *min, void *max) const =0 throw ()
 Returns the min and max coordinates for one Axis. More...
 
virtual SDKResult SDK_CALLTYPE GetCellCount (SDKUInt8 axis, SDKUInt32 &count) const =0 throw ()
 Returns the number of cells on the axis (see Axis) More...
 
- Public Member Functions inherited from IGeometry
virtual SDKResult SDK_CALLTYPE GetGeometryType (GeometryType &type) const =0 throw ()
 Returns the type of a geometry.
 
virtual SDKResult SDK_CALLTYPE GetDimension (GeometryDimension &dimension) const =0 throw ()
 Returns the topological dimension of the geometry object.
 
virtual SDKResult SDK_CALLTYPE GetEnvelope (IEnvelope **envelope) const =0 throw ()
 Returns the unique Envelope that binds the Geometry object. This is the smallest Envelope that Contains the object. More...
 
virtual SDKResult SDK_CALLTYPE IsEmpty () const =0 throw ()
 Indicates whether this geometry contains any points. More...
 
virtual SDKResult SDK_CALLTYPE IsInfinite () const =0 throw ()
 Indicates whether a Geometry object has infinite coordinates in any dimension. More...
 
virtual SDKResult SDK_CALLTYPE GetBoundary (IGeometry **geometry)=0 throw ()
 Returns boundary of the geometry object. More...
 
virtual SDKResult SDK_CALLTYPE GetPointCollection (IPointCollectionParameters *parameters, IPointCollection **point_collection)=0 throw ()
 Returns the point collection of the Geometry object. More...
 
virtual SDKResult SDK_CALLTYPE Project (sdk::crs::IProjection *projection, IGeometry **projected_geometry)=0 throw ()
 Projects the geometry into a new projection. More...
 
virtual SDKResult SDK_CALLTYPE GetHorizontalCoordinateSystem (sdk::crs::IHorizontalCoordinateSystem **coordinate_system) const =0 throw ()
 Returns an interface that provides access to properties of the horizontal coordinate system. More...
 
virtual SDKResult SDK_CALLTYPE GetVerticalCoordinateSystem (sdk::crs::IVerticalCoordinateSystem **coordinate_system) const =0 throw ()
 Returns an interface that provides access to properties of the vertical coordinate system. More...
 
virtual SDKResult SDK_CALLTYPE GetHorizontalDatum (SDKUInt16 &hordat) const =0 throw ()
 Returns the horizontal datum of the geometry. More...
 
virtual SDKResult SDK_CALLTYPE GetGeometryFlags (SDKUInt64 &flags) const =0 throw ()
 Returns geometry flags. More...
 
virtual SDKResult SDK_CALLTYPE GetGeometryID (SDKUInt64 &flags) const =0 throw ()
 Returns geometry identifier. More...
 
- Public Member Functions inherited from ISDKComponent
virtual SDKAtomicRefCount SDK_CALLTYPE AddRef () const =0 throw ()
 Increments the reference count for an interface on a component.

 
virtual SDKAtomicRefCount SDK_CALLTYPE Release () const =0 throw ()
 Decrements the reference count for an interface on a component.
 
virtual SDKResult SDK_CALLTYPE GetInterface (const InterfaceId &id, void **obj_ptr)=0 throw ()
 Returns pointers to the supported interfaces on a component.
 
template<typename _Itf >
SDKResult GetInterface (_Itf **obj_ptr) throw ()
 Returns pointers to the supported interfaces on a component.
 

Detailed Description

Provides access to members that identify a grid.

Member Function Documentation

◆ GetBounds()

virtual SDKResult SDK_CALLTYPE GetBounds ( SDKUInt8  axis,
SDKAnyType  type,
void *  min,
void *  max 
) const
throw (
)
pure virtual

Returns the min and max coordinates for one Axis.

Parameters
axis[in] Axis.
type[in] The data type of X and Y
min[out] Minimal coordinate.
max[out] Maximal coordinate.
Returns
SDKResult_Succeeded
SDKResult_NotImplemented
SDKResult_NotExist

◆ GetCellCount()

virtual SDKResult SDK_CALLTYPE GetCellCount ( SDKUInt8  axis,
SDKUInt32 &  count 
) const
throw (
)
pure virtual

Returns the number of cells on the axis (see Axis)

Parameters
axis[in] Axis.
count[out] Number of cells on the specified axis.
Returns
SDKResult_Succeeded
SDKResult_NotImplemented
SDKResult_NotExist

The documentation for this class was generated from the following file: