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

Provides access to members that define two dimensional points. More...

#include <geometry.h>

Inheritance diagram for IPoint:
IGeometry ISDKComponent

Public Member Functions

virtual SDKResult SDK_CALLTYPE GetCoords (SDKAnyType type, void *X, void *Y) const =0 throw ()
 Returns the X and Y coordinates. More...
 
virtual SDKResult SDK_CALLTYPE GetZ (SDKAnyType type, void *Z) const =0 throw ()
 Returns the Z attribute on the Point.
 
- 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 define two dimensional points.

Member Function Documentation

◆ GetCoords()

virtual SDKResult SDK_CALLTYPE GetCoords ( SDKAnyType  type,
void *  X,
void *  Y 
) const
throw (
)
pure virtual

Returns the X and Y coordinates.

Parameters
type[in] The data type of X and Y
X[out] Horizontal position of the point.
Y[out] Vertical position of the point.
Returns
SDKResult_Succeeded
SDKResult_NotImplemented
SDKResult_NotExist

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