oevislib_net  0.14.3.0
Loading...
Searching...
No Matches
Combinators

Functions

Path oevislib_net.Path.Append (Path inPath, bool inClose)
 Concatenates two open paths.
static Path oevislib_net.Path.ConcatenatePaths (Array< Path > inPaths, bool inClose)
 Concatenates an array of paths.
static Path oevislib_net.Path.MakeAveragePath (Path inPath1, Path inPath2)
 Computes a new path averaging each point of two objects with equal size and type.
static Array< Pathoevislib_net.Path.ConnectAdjacentPaths (Array< Path > inPaths, float inMaxDistance, float inMaxAngle, Optional< float > inMaxDeviation, float inExcessTrim, Optional< float > inEndingLength, PathJoiningMethod inJoiningMethod, PathJoiningAngleMeasure inAngleMeasure, bool inIgnorePathEndsOrder, float inMinPathLength, Optional< Array< Path > > outJoinedPaths)
 Joins the paths of an input array using the provided parameters.

Detailed Description

Function Documentation

◆ Append()

Path oevislib_net.Path.Append ( Path inPath,
bool inClose )
inline

Concatenates two open paths.

Parameters
inPathPath that will be concatenated after the calling object.
inCloseCloseness of the new resulting path.
Returns
The concatenated path.

◆ ConcatenatePaths()

Path oevislib_net.Path.ConcatenatePaths ( Array< Path > inPaths,
bool inClose )
inlinestatic

Concatenates an array of paths.

Parameters
inPathsInput paths.
inCloseCloseness that must be applied to the output path.
Returns
The complete path.

◆ ConnectAdjacentPaths()

Array< Path > oevislib_net.Path.ConnectAdjacentPaths ( Array< Path > inPaths,
float inMaxDistance,
float inMaxAngle,
Optional< float > inMaxDeviation,
float inExcessTrim,
Optional< float > inEndingLength,
PathJoiningMethod inJoiningMethod,
PathJoiningAngleMeasure inAngleMeasure,
bool inIgnorePathEndsOrder,
float inMinPathLength,
Optional< Array< Path > > outJoinedPaths )
inlinestatic

Joins the paths of an input array using the provided parameters.

Parameters
inPathsInput paths.
inMaxDistancePaths with a distance higher than this value cannot be joined. Range: [0, +inf).
inMaxAnglePaths with a relative angle higher than this value will not be joined. Range: [0, 180].
inMaxDeviationMaximum thickness of a stripe containing both paths being joined. Range: [0, +inf).
inExcessTrimLength that will be removed from both sides of each path. Range: [0, +inf).
inEndingLengthLength of the path endings used for computing the relative inclination angle. Range: [0, +inf).
inJoiningMethodMethod used to join two paths.
inAngleMeasureMethod used to measure the paths' relative angle.
inIgnorePathEndsOrderIf false, path endings can only be joined with path beginnings.
inMinPathLengthMinimum length of the resulting path.
outJoinedPathsArray containing the original paths that have been joined.
Returns
Array containing all the resulting paths (including the ones that were not combined).

◆ MakeAveragePath()

Path oevislib_net.Path.MakeAveragePath ( Path inPath1,
Path inPath2 )
inlinestatic

Computes a new path averaging each point of two objects with equal size and type.

Parameters
inPath1First input path.
inPath2Second input path.
Returns
The average path.