|
oevislib_net
0.14.3.0
|
Functions | |
| oevislib_net.Path.Path () | |
| Creates an empty Path. | |
| oevislib_net.Path.Path (bool inClosed) | |
| Creates an empty Path, specifying if it's closed or not. | |
| oevislib_net.Path.Path (int inSize, bool inClosed=false) | |
| Creates a new Path with the provided size. | |
| oevislib_net.Path.Path (Segment2D inSegment) | |
| Creates a new Path from a Segment2D (using its two points). | |
| oevislib_net.Path.Path (Array< Point2D > inPoints, bool inClosed) | |
| Creates a new Path from an array of points. | |
| int | oevislib_net.Path.GetSize () |
| Returns the number of points contained in the path. | |
| ByteBuffer | oevislib_net.Path.Serialize () |
| Serialize the Path object using flatbuffers. | |
| static Path | oevislib_net.Path.Deserialize (ByteBuffer inBuffer) |
| De-serialize a Path buffer. | |
| void | oevislib_net.Path.Append (Point2D inPoint) |
| Appends a point to the end of the path. | |
| void | oevislib_net.Path.Append (Array< Point2D > inPoints) |
| Appends an array of points to the end of the path. | |
| void | oevislib_net.Path.Remove (int inIndex, bool inInverse) |
| Removes a point from the path. | |
| static Path | oevislib_net.Path.FromArc (Arc2D inArc, int inPointCount) |
| Creates an open path starting from the provided arc object. | |
| static Path | oevislib_net.Path.FromCircle (Circle2D inCircle, int inPointCount) |
| Creates a closed path from the provided circle object. | |
| static Path | oevislib_net.Path.FromEllipse (Ellipse2D inEllipse, int inPointCount) |
| Creates a closed path from the provided ellipse object. | |
| static Path | oevislib_net.Path.FromRectangle (Rectangle2D inRectangle) |
| Creates a closed path using the four vertices of the provided rectangle. | |
| static Path | oevislib_net.Path.FromSegment (Segment2D inSegment, int inPointCount) |
| Creates an open path using the provided segment object. | |
| bool | oevislib_net.Path.IsClosed () |
| Returns if the path is closed. | |
| Point2D | oevislib_net.Path.GetPoint (int inIndex, bool inInverse) |
| Returns a specific point from the Path. | |
| Point2D | oevislib_net.Path.GetPoint (float inIndex) |
| Returns the linear interpolation of two consecutive path points. | |
| Array< Point2D > | oevislib_net.Path.GetData () |
| Returns the pointer to the first point of the path. | |
| void | oevislib_net.Path.SetClosed (bool inClosed) |
| Sets the path as open or closed based on the input. | |
| void | oevislib_net.Path.SetPoint (Point2D inPoint, int inIndex, bool inInverse) |
| Changes the value of the point at the provided index. | |
| Point2D | oevislib_net.Path.GetPointAtDistance (float inDistance, bool inInverse) |
| Returns a point at a certain distance from the path starting point. | |
| Segment2D | oevislib_net.Path.GetSegment (int inIndex, bool inInverse) |
| Returns the segment starting with the point at the provided index and ending with the following point on the path. | |
| Path | oevislib_net.Path.ExtractSubpath (int inStart, int inPointCount) |
| Extracts a new path starting from the provided point. | |
| bool | oevislib_net.Path.IsEmpty () |
| Checks if the path is empty. | |
| bool | oevislib_net.Path.IsPolygon () |
| Checks if the path can be considered a polygon. | |
|
inline |
Appends an array of points to the end of the path.
| inPoints | Array of points to add. |
|
inline |
Appends a point to the end of the path.
| inPoint | Point to add. |
|
inlinestatic |
De-serialize a Path buffer.
| inBuffer | Buffer containing the object. |
|
inline |
Extracts a new path starting from the provided point.
| inStart | Index of the new path starting point. Range: [0, +inf). |
| inPointCount | Number of points that will be extracted. Range: [1, +inf). |
Creates an open path starting from the provided arc object.
| inArc | Input arc. |
| inPointCount | Number of path points. Range: [2, +inf). |
Creates a closed path from the provided circle object.
| inCircle | Input circle. |
| inPointCount | Number of path points. Range: [2, +inf). |
Creates a closed path from the provided ellipse object.
| inEllipse | Input ellipse. |
| inPointCount | Number of path points. Range: [2, +inf). |
|
inlinestatic |
Creates a closed path using the four vertices of the provided rectangle.
| inRectangle | Input rectangle. |
Creates an open path using the provided segment object.
| inSegment | Input segment. |
| inPointCount | Number of path points. Range: [2, +inf). |
|
inline |
Returns the pointer to the first point of the path.
|
inline |
Returns the linear interpolation of two consecutive path points.
| inIndex | Point index (floating-point). |
|
inline |
Returns a specific point from the Path.
| inIndex | Point index. Range: [0, +inf). |
| inInverse | true if points order must be reversed when considering the index. |
|
inline |
Returns a point at a certain distance from the path starting point.
| inDistance | Distance from the path starting point. Range: [0, +inf). |
| inInverse | If true, the distance is measured from the endpoint instead. |
|
inline |
Returns the segment starting with the point at the provided index and ending with the following point on the path.
| inIndex | Input index. Range: [0, +inf). |
| inInverse | If true, the index is counted from the path endpoint. |
|
inline |
Returns the number of points contained in the path.
|
inline |
Returns if the path is closed.
|
inline |
Checks if the path is empty.
|
inline |
Checks if the path can be considered a polygon.
|
inline |
Creates an empty Path.
|
inline |
Creates a new Path from an array of points.
| inPoints | Array of points. |
| inClosed | true if the path is closed. |
|
inline |
Creates an empty Path, specifying if it's closed or not.
| inClosed | true if the path is closed, false otherwise. |
|
inline |
Creates a new Path with the provided size.
| inSize | Length of the path. Range: [0, +inf). |
| inClosed | Whether the path is closed or not. |
|
inline |
|
inline |
Removes a point from the path.
| inIndex | Point index. Range: [0, +inf). |
| inInverse | true if points order must be reversed when considering the index. |
|
inline |
Serialize the Path object using flatbuffers.
|
inline |
Sets the path as open or closed based on the input.
| inClosed | true if the path has to be closed, false otherwise. |
|
inline |
Changes the value of the point at the provided index.
| inPoint | Input point. |
| inIndex | Input index. Range: [0, +inf). |
| inInverse | Whether to consider index starting from the back of the path. |