![]() |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
Describes interface for 2D geometry path figure data, which allows to extract the point coordinates for given 2D figure from geometry path. More...
#include <2d_geometry_path_figure_data_interface.h>
Inherits ISDKComponent.
Public Member Functions | |
| virtual SDKResult SDK_CALLTYPE | GetFigureFinishRule (sdk::geometry::GeometryFinishFigureRule &finish_rule) const =0 throw () |
| Returns the appropriate figure finish rule, i.e. is figure closed or not. | |
| virtual SDKResult SDK_CALLTYPE | GetFigurePointsCount (SDKUInt32 &points_count) const =0 throw () |
| Returns the number of points, which belongs to given figure. | |
| virtual SDKResult SDK_CALLTYPE | GetFigurePointsData (const SDKUInt32 &number_of_points_to_copy, SDKPointF2D *dest_points_array) const =0 throw () |
| Copies the points data to passed destination array. | |
| virtual SDKResult SDK_CALLTYPE | GetFigurePointsData (const SDKPointF2D **points_buffer) const =0 throw () |
| Grants a direct access to points data. NOTE: The returned pointer to data points to internal data buffer in case the figure object instance will be released - the given pointer becomes invalid and should not be used more! NOTE 2: DO NOT DELETE THE RETURNED POINTER DATA! The pointer points to internal buffer, which will be deleted by appropriate object! NOTE 3: The internal buffer has the following structure: Set of SDKPointF2D structures, the amount of such structures can be obtained via GetFigurePointsCount method. | |
Describes interface for 2D geometry path figure data, which allows to extract the point coordinates for given 2D figure from geometry path.