![]() |
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, which allows performs a transformation operation on given geometry path. More...
#include <2d_geometry_path_transform_interface.h>
Inherits ISDKComponent.
Public Member Functions | |
| virtual SDKResult SDK_CALLTYPE | Transform (const SDKMatrix3X2 &transformation_matrix, sdk::geometry::GeometryPathSP &transformed_path) const =0 throw () |
| Transforms the geometry path by using transformation matrix New transformed path will be generated after operation Note, that no transformation operations will be performed for infinite path, due of this path is plane with infinite borders. | |
| virtual SDKResult SDK_CALLTYPE | Combine (const sdk::geometry::GeometryPathSP &input_path, const SDKMatrix3X2 &input_path_transformation_matrix, const sdk::geometry::GeometryPathCombineMode &combine_mode, sdk::geometry::GeometryPathSP &combined_path) const =0 throw () |
| Combines the given geometry path with specified and generates a new path object, which contains combined geometries of geometry paths Some notes about infinite path and combine operations Infinite path OR ordinary path: Result - source infinite path Ordinary path OR Infinite path: Result - source infinite path Infinite path AND ordinary path: Result - source ordinary path Ordinary path AND Infinite path: Result - source ordinary path Infinite path XOR ordinary path: Result - OPERATION IS NOT ALLOWED Ordinary path XOR Infinite path: Result - OPERATION IS NOT ALLOWED Infinite path EXCLUDE ordinary path: Result - OPERATION IS NOT ALLOWED Ordinary path EXCLUDE Infinite path: Result - Empty path. | |
Describes interface for 2D geometry path, which allows performs a transformation operation on given geometry path.