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

Provides access to members that describe properties and behavior of all geometric objects. More...

#include <geometry_edit.h>

Inherits ISDKComponent.

Public Member Functions

virtual SDKResult SDK_CALLTYPE Clear ()=0 throw ()
 Deletes all points in the geometry object. More...
 
virtual SDKResult SDK_CALLTYPE AddGeometry (IGeometry *geometry)=0 throw ()
 Adds a geometry to the GeometryCollection. More...
 
virtual SDKResult SDK_CALLTYPE AddPoints (geometry::PointType type, const void *points, SDKUInt32 point_num, SDKInt32 ring_index, SDKUInt32 multi_index)=0 throw ()
 Associates points with or appends them to a specified geometry element. More...
 

Detailed Description

Provides access to members that describe properties and behavior of all geometric objects.

Member Function Documentation

◆ Clear()

virtual SDKResult SDK_CALLTYPE Clear ( )
throw (
)
pure virtual

Deletes all points in the geometry object.

Returns
SDKResult_Succeeded
SDKResult_NotImplemented

◆ AddGeometry()

virtual SDKResult SDK_CALLTYPE AddGeometry ( IGeometry *  geometry)
throw (
)
pure virtual

Adds a geometry to the GeometryCollection.

Parameters
[in]geometryPointer to a IGeometry interface.
Returns
SDKResult_Succeeded
SDKResult_NotImplemented

◆ AddPoints()

virtual SDKResult SDK_CALLTYPE AddPoints ( geometry::PointType  type,
const void *  points,
SDKUInt32  point_num,
SDKInt32  ring_index,
SDKUInt32  multi_index 
)
throw (
)
pure virtual

Associates points with or appends them to a specified geometry element.

Parameters
[in]typeThe point type.
[in]pointsPointer to the points array.
[in]point_numNumber of points in the array.
[in]ring_indexThe index of the ring in case of a polygon: exterior ring (-1, the default) or interior ring index (starting from 0).
[in]multi_indexMulti index is used to construct a multi geometry (multi surfaces and multi curves)
Returns
kSDKResult_Succeeded
kSDKResult_NotImplemented

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