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

Provides access to members that manipulate the points references of a Multipoint, CurveSegment, Curve, Ring, Surface, TriangleFan, TriangleStrip, Triangles. More...

#include <geometry.h>

Inheritance diagram for IPointCollectionRef:
ISDKComponent

Public Member Functions

virtual SDKResult SDK_CALLTYPE GetPointsRef (const void **points, PointDimensionType *dimension, const SDKAnyType **types, const SDKUInt32 **counts, SDKUInt32 *array_count)=0 throw ()
 Returns a reference to an array of the point structures. 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 manipulate the points references of a Multipoint, CurveSegment, Curve, Ring, Surface, TriangleFan, TriangleStrip, Triangles.

Member Function Documentation

◆ GetPointsRef()

virtual SDKResult SDK_CALLTYPE GetPointsRef ( const void **  points,
PointDimensionType *  dimension,
const SDKAnyType **  types,
const SDKUInt32 **  counts,
SDKUInt32 *  array_count 
)
throw (
)
pure virtual

Returns a reference to an array of the point structures.

Parameters
points[out] A pointer to a variable that receives a reference to an array of point structures.
dimension[out] A pointer to a variable that receives a dimension of the point structure.
types[out] A pointer to an array of SDKAnyTypes, each of which specifies the type tuple element for each dimension.
counts[out] A pointer to an array of integers, each of which specifies the number of points in the corresponding array.
array_count[out] A pointer to a variable that receives the number of arrays.
Returns
kSDKResult_Succeeded If succeeded.
kSDKResult_NotImplemented If the method is not implemented.
kSDKResult_NotExist If there is no points in the collection.

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