![]() |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
Provides access to members that can be used for accessing individual geometries of a multi-part geometry (Multipoint, Curve, CompositeCurve, Surface). More...
#include <geometry.h>
Public Member Functions | |
| virtual SDKResult SDK_CALLTYPE | GetGeometryCount (SDKUInt32 &count) const =0 throw () |
| Returns the number of Geometries in the GeometryCollection. | |
| virtual SDKResult SDK_CALLTYPE | GetGeometry (SDKUInt32 index, IGeometry **geometry) const =0 throw () |
| Returns the ith Geometry from the GeometryCollection. The first Geometry has index 0 and the last Geometry has index equal to GeometryCount - 1. 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. | |
Provides access to members that can be used for accessing individual geometries of a multi-part geometry (Multipoint, Curve, CompositeCurve, Surface).
|
pure virtual | ||||||||||||||||||||
Returns the ith Geometry from the GeometryCollection. The first Geometry has index 0 and the last Geometry has index equal to GeometryCount - 1.
| index | [in] Zero-based position of a Geometry in the collection. |
| geometry | [out] Address of variable that receives the pointer to a Geometry interface. |