 |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
|
Go to the documentation of this file. 1 #ifndef SDK_2D_GEOMETRY_PATH_INTERFACE_H_
11 #define SDK_2D_GEOMETRY_PATH_INTERFACE_H_
20 #include "2d_geometry_objects.h"
116 sdk::geometry::GeometryPathFactorySP& parent)
const throw() = 0;
122 sdk::geometry::GeometryPathEditorSP& editor)
throw() = 0;
129 sdk::geometry::GeometryPathDataSP& path_data)
throw() = 0;
141 #endif // SDK_2D_GEOMETRY_PATH_INTERFACE_H_
Describes interface for 2D geometry path data, which allows to extract the point coordinates from app...
@ kGeometryPathProp_PointsCount
Total number of points in a path Current implementations uses given property as: 1) Direct2D based g...
Definition: 2d_geometry_path_interface.h:98
@ kGeometryPathProp_HigherAccuracyMethodThreshold
Threshold to use higher accuracy method instead of default one See kGeometryPathProp_UseHigherAccurac...
Definition: 2d_geometry_path_interface.h:92
Describes interfaces that manages a geometry objects.
virtual SDKResult SDK_CALLTYPE BeginEdit(sdk::geometry::GeometryPathEditorSP &editor)=0
Returns the path editor, which allows to add geometric primitives to geometry path....
@ kGeometryPathProp_Complexity
Complexity - ie presence in a path arcs, splines, etc. Current implementations uses given property as...
Definition: 2d_geometry_path_interface.h:105
Wrappers and helper functions for SDKString.
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
@ kGeometryPathProp_UseHigherAccuracyMethods
Try to use higher accuracy methods (performance issue) Current implementations uses given property as...
Definition: 2d_geometry_path_interface.h:52
virtual SDKResult SDK_CALLTYPE GetPathData(const float &flattening_tolerance, sdk::geometry::GeometryPathDataSP &path_data)=0
Returns an geometry path data object, which allows to enumerate all of path figures,...
Provides access to members that control the properties.
Definition: properties_interface.h:32
GeometryPathProps
Generic geometry path properties.
Definition: 2d_geometry_path_interface.h:33
virtual SDKResult SDK_CALLTYPE FinishEdit()=0
Finishes the edit process by appending new data to existing geometry path.
@ kGeometryPathProp_MaxAttemptsToBuildRegionFromPath
Max number of attempt to build a region for path Current implementations uses given property as: 1) ...
Definition: 2d_geometry_path_interface.h:77
Common base SDK interfaces.
Allows to edit the geometry path by adding geometric primitives, like line, Bezier curves,...
static const float kDefFlatteningTolerance
Default recommended flattening tolerance value for path operations.
Definition: 2d_geometry_path_interface.h:29
virtual SDKResult SDK_CALLTYPE GetParent(sdk::geometry::GeometryPathFactorySP &parent) const =0
Returns the parent factory instance, which created the given instance.
@ kGeometryPathProp_CacheInternalPathStructures
Cache the internal path structures to speed up the operations Current implementations uses given prop...
Definition: 2d_geometry_path_interface.h:42
@ kGeometryPathProp_AdjustRegionRectanglesByOne
If value > 0: After converting a path to the region increase each of the region rectangles max corner...
Definition: 2d_geometry_path_interface.h:85
Describes interface for 2D geometry path, which supports the edit operations.
Definition: 2d_geometry_path_interface.h:111
@ kGeometryPathProp_MaxMemoryAmountForRegionOperations
Max memory amount to use for path operations (in megabytes, 128 megabytes by default) Current impleme...
Definition: 2d_geometry_path_interface.h:64