|
oevislib_net
0.14.3.0
|
Functions | |
| Path | oevislib_net.Path.Translate (Vector2D inDelta, TranslateAlignment inTranslateAlignment, bool inInverse) |
| Translates each point of the path using the provided vector. | |
| Path | oevislib_net.Path.Rotate (float inAngle, Optional< Point2D > inCenter=null, bool inInverse=false) |
| Rotates the entire path clockwise around a center point. | |
| Path | oevislib_net.Path.Crop (Box inBox, TrimPathMethod inTrimPathMethod) |
| Crops the path to the provided rectangle box. | |
| Path | oevislib_net.Path.Crop (Rectangle2D inRectangle, TrimPathMethod inTrimPathMethod) |
| Crops the path to the provided rectangle. | |
| Path | oevislib_net.Path.Rescale (float inScale, Optional< Point2D > inReferencePoint=null, bool inInverse=false) |
| Rescales all the path's points distance with respect to a reference point. | |
| Path | oevislib_net.Path.Align (UCS2D inAlignment, bool inInverse) |
| Moves the path to a new coordinate system. | |
| static void | oevislib_net.Path.TranslatePaths (Array< Path > ioPaths, Vector2D inDelta, TranslateAlignment inTranslateAlignment, bool inInverse) |
| Translates each path of the provided array. | |
| static void | oevislib_net.Path.RotatePaths (Array< Path > ioPaths, float inAngle, Optional< Point2D > inCenter=null, bool inInverse=false) |
| Rotates each path of the provided array. | |
| static void | oevislib_net.Path.CropPaths (Array< Path > ioPaths, Box inBox, TrimPathMethod inTrimPathMethod) |
| Crops each path of the provided array. | |
| static void | oevislib_net.Path.CropPaths (Array< Path > ioPaths, Rectangle2D inRectangle, TrimPathMethod inTrimPathMethod) |
| Crops each path of the provided array using the provided rectangle. | |
| static void | oevislib_net.Path.RescalePaths (Array< Path > ioPaths, float inScale, Optional< Point2D > inReferencePoint, bool inInverse) |
| Rescales each path of the provided array. | |
| static void | oevislib_net.Path.AlignPaths (Array< Path > ioPaths, UCS2D inAlignment, bool inInverse) |
| Aligns each path of the provided array. | |
| void | oevislib_net.Path.Reverse () |
| Reverses path's points ordered. | |
| void | oevislib_net.Path.Transpose () |
| Flips x and y coordinates of each path's point. | |
| Path | oevislib_net.Path.Shift (float inDistance, ShiftDirection inDirection) |
| Shifts the points of the path by a given distance in a specified direction. | |
| Profile | oevislib_net.Path.ProjectsOn (Line2D inLine, Optional< Array< Segment2D > > outProjectionSegments=null) |
| Project each point on the provided line. | |
| Conditional< Path > | oevislib_net.Path.Inflate (float inMargin, float inMaxPointDisplacement) |
| Enlarges the path with a given margin. | |
Moves the path to a new coordinate system.
| inAlignment | Input coordinate system. |
| inInverse | If true, the inverse transformation is performed. |
|
inlinestatic |
Aligns each path of the provided array.
| ioPaths | Array with paths that must be aligned. The array will be modified in-place. |
| inAlignment | Input coordinate system. |
| inInverse | If true, the inverse transformation is performed. |
|
inline |
Crops the path to the provided rectangle box.
| inBox | Input rectangle box. |
| inTrimPathMethod | Method used to crop path. |
|
inline |
Crops the path to the provided rectangle.
| inRectangle | Input rectangle. |
| inTrimPathMethod | Method used to crop path. |
|
inlinestatic |
Crops each path of the provided array.
| ioPaths | Array with paths that must be cropped. The array will be modified in-place. |
| inBox | Input rectangle box used to crop each path. |
| inTrimPathMethod | Method used to crop each path. |
|
inlinestatic |
Crops each path of the provided array using the provided rectangle.
| ioPaths | Array with paths that must be cropped. The array will be modified in-place. |
| inRectangle | Input rectangle used to crop each path. |
| inTrimPathMethod | Method used to crop each path. |
|
inline |
Enlarges the path with a given margin.
| inMargin | Inflation margin. |
| inMaxPointDisplacement | Maximum distance covered by each point. Range: [0, +inf). |
|
inline |
Project each point on the provided line.
| inLine | Line on which the path will be projected. |
| outProjectionSegments | Array containing the projected segments. |
|
inline |
Rescales all the path's points distance with respect to a reference point.
| inScale | Input scale factor. |
| inReferencePoint | Rescale reference point. |
| inInverse | If true, the scale factor is inverted. |
|
inlinestatic |
Rescales each path of the provided array.
| ioPaths | Array with paths that must be rescaled. The array will be modified in-place. |
| inScale | Input scale factor. |
| inReferencePoint | Scaling reference point. If Null, the path mass center will be used. |
| inInverse | If true, the scale factor is inverted. |
|
inline |
Reverses path's points ordered.
|
inline |
Rotates the entire path clockwise around a center point.
| inAngle | Rotation angle. |
| inCenter | Rotation center. If Null, the path mass center will be used. |
| inInverse | If true, the rotation is performed counter-clockwise. |
|
inlinestatic |
Rotates each path of the provided array.
| ioPaths | Array with paths that must be rotated. The array will be modified in-place. |
| inAngle | Rotation angle. |
| inCenter | Rotation center. If Null, the path mass center will be used. |
| inInverse | If true, the paths will be rotated counter-clockwise. |
|
inline |
Shifts the points of the path by a given distance in a specified direction.
| inDistance | The distance by which the points of the path should be shifted. Range [0, +inf]. |
| inDirection | The direction in which the points should be shifted. |
|
inline |
Translates each point of the path using the provided vector.
| inDelta | Translation vector. |
| inTranslateAlignment | Coordinate system used for translation. |
| inInverse | If true, the vector with the opposite direction is used. |
|
inlinestatic |
Translates each path of the provided array.
| ioPaths | Array with paths that must be translated. The array will be modified in-place. |
| inDelta | Translation vector. |
| inTranslateAlignment | Coordinate system used for translation. |
| inInverse | If true, the vector with the opposite direction is used. |
|
inline |
Flips x and y coordinates of each path's point.