oevislib_net  0.14.3.0
Loading...
Searching...
No Matches
Metrics

Functions

static float oevislib_net.Path.Distance (Path inPath, Point2D inPoint, float inResolution, Optional< Segment2D > outConnectingSegment)
 Measures the distance between a point and its projection on the provided path.
static Profile oevislib_net.Path.DistanceProfile (Path inPath, Point2D inPoint, float inResolution, Optional< Array< Segment2D > > outConnectingSegments)
 Computes distances between all the path's points and the provided reference point.
static float oevislib_net.Path.Distance (Path inPath, Line2D inLine, float inResolution, Optional< Segment2D > outConnectingSegment)
 Computes the minimum distance between a path and a line.
static Profile oevislib_net.Path.DistanceProfile (Path inPath, Line2D inLine, float inResolution, Optional< Array< Segment2D > > outConnectingSegments)
 Computes distances between all the path's points and the provided reference line.
static float oevislib_net.Path.Distance (Path inPath1, Path inPath2, PathDistanceMode inDistanceMode, float inResolution, Optional< Segment2D > outConnectingSegment)
 Computes the smallest distance between two paths.
static Profile oevislib_net.Path.DistanceProfile (Path inPath1, Path inPath2, PathDistanceMode inDistanceMode, float inResolution, Optional< Array< Segment2D > > outConnectingSegments)
 Computes distances between all points of two paths.
static float oevislib_net.Path.DistanceMax (Path inPath1, Path inPath2, PathDistanceMode inDistanceMode, float inResolution, Optional< Segment2D > outConnectingSegment)
 Computes the maximum distance from two paths.

Detailed Description

Function Documentation

◆ Distance() [1/3]

float oevislib_net.Path.Distance ( Path inPath,
Line2D inLine,
float inResolution,
Optional< Segment2D > outConnectingSegment )
inlinestatic

Computes the minimum distance between a path and a line.

Parameters
inPathInput path.
inLineInput line.
inResolutionMeasure resolution. Range: [0, +inf).
outConnectingSegmentShortest segment connecting the path to the line.
Returns
The measured distance.

◆ Distance() [2/3]

float oevislib_net.Path.Distance ( Path inPath,
Point2D inPoint,
float inResolution,
Optional< Segment2D > outConnectingSegment )
inlinestatic

Measures the distance between a point and its projection on the provided path.

Parameters
inPathInput path.
inPointInput point.
inResolutionDistance resolution. Range: [0, +inf).
outConnectingSegmentSegment connecting the point and its projection on the path.
Returns
The computed distance.

◆ Distance() [3/3]

float oevislib_net.Path.Distance ( Path inPath1,
Path inPath2,
PathDistanceMode inDistanceMode,
float inResolution,
Optional< Segment2D > outConnectingSegment )
inlinestatic

Computes the smallest distance between two paths.

Parameters
inPath1First input path.
inPath2Second input path.
inDistanceModeAlgorithm used to calculate distances between paths.
inResolutionMeasure resolution. Range: [0, +inf).
outConnectingSegmentShortest segment connecting both paths.
Returns
The measured distance.

◆ DistanceMax()

float oevislib_net.Path.DistanceMax ( Path inPath1,
Path inPath2,
PathDistanceMode inDistanceMode,
float inResolution,
Optional< Segment2D > outConnectingSegment )
inlinestatic

Computes the maximum distance from two paths.

Parameters
inPath1First input path.
inPath2Second input path.
inDistanceModeAlgorithm used to calculate distances between paths.
inResolutionMeasure resolution. Range: [0, +inf).
outConnectingSegmentLongest segment connecting both paths.
Returns
The measured distance.

◆ DistanceProfile() [1/3]

Profile oevislib_net.Path.DistanceProfile ( Path inPath,
Line2D inLine,
float inResolution,
Optional< Array< Segment2D > > outConnectingSegments )
inlinestatic

Computes distances between all the path's points and the provided reference line.

Parameters
inPathInput path.
inLineinput reference line.
inResolutionMeasure resolution. Range: [0, +inf).
outConnectingSegmentsArray of the segments connecting each path's point to its projection on the reference line.
Returns
The profile containing all computed distances.

◆ DistanceProfile() [2/3]

Profile oevislib_net.Path.DistanceProfile ( Path inPath,
Point2D inPoint,
float inResolution,
Optional< Array< Segment2D > > outConnectingSegments )
inlinestatic

Computes distances between all the path's points and the provided reference point.

Parameters
inPathInput path.
inPointInput reference point.
inResolutionDistance resolution. Range: [0, +inf).
outConnectingSegmentsArray of the segments connecting the reference point to each path's point.
Returns
The profile containing all computed distances.

◆ DistanceProfile() [3/3]

Profile oevislib_net.Path.DistanceProfile ( Path inPath1,
Path inPath2,
PathDistanceMode inDistanceMode,
float inResolution,
Optional< Array< Segment2D > > outConnectingSegments )
inlinestatic

Computes distances between all points of two paths.

Parameters
inPath1First input path.
inPath2Second input path.
inDistanceModeAlgorithm used to calculate distances between paths.
inResolutionMeasure resolution. Range: [0, +inf).
outConnectingSegmentsArray of the segments connecting each paths' points.
Returns
The profile containing all computed distances.