oevislib_net  0.14.3.0
Loading...
Searching...
No Matches
Normalizations

Point2D Normalizations

See also
Normalizations
static void oevislib_net.Geometry.Point2D.RemoveInvalidPoints (Array< Point2D > ioPoints)
 Removes points with NaN of INF coordinates.

Rectangle2D Normalizations

See also
Normalizations
void oevislib_net.Geometry.Rectangle2D.NormalizeOrientation (float inReferenceAngle, RectangleOrientation inRectangleOrientation)
 Normalizes the rectangle's angle value.

Segment2D Normalizations

See also
Normalizations
void oevislib_net.Geometry.Segment2D.NormalizeOrientation (float inBaseOrientation)
 Changes the segment orientation based on the base angle.
void oevislib_net.Geometry.Segment2D.NormalizeOrientation (Point2D inReferencePoint)
 Changes the segment orientation based on the distance with the provided point.
void oevislib_net.Geometry.Segment2D.NormalizeOrientation (Axis inAxis)
 Changes the segment orientation using the coordinates on the selected axis.

Detailed Description

Function Documentation

◆ NormalizeOrientation() [1/4]

void oevislib_net.Geometry.Rectangle2D.NormalizeOrientation ( float inReferenceAngle,
RectangleOrientation inRectangleOrientation )
inline

Normalizes the rectangle's angle value.

Parameters
inReferenceAngleThe valid range midpoint of the output angle.
inRectangleOrientationOrientation of the new rectangle.

◆ NormalizeOrientation() [2/4]

void oevislib_net.Geometry.Segment2D.NormalizeOrientation ( Axis inAxis)
inline

Changes the segment orientation using the coordinates on the selected axis.

Parameters
inAxisAxis used to select coordinates.

◆ NormalizeOrientation() [3/4]

void oevislib_net.Geometry.Segment2D.NormalizeOrientation ( float inBaseOrientation)
inline

Changes the segment orientation based on the base angle.

Parameters
inBaseOrientationAngle based on which differences are calculated.

◆ NormalizeOrientation() [4/4]

void oevislib_net.Geometry.Segment2D.NormalizeOrientation ( Point2D inReferencePoint)
inline

Changes the segment orientation based on the distance with the provided point.

Parameters
inReferencePointPoint used to calculate distances.

◆ RemoveInvalidPoints()

void oevislib_net.Geometry.Point2D.RemoveInvalidPoints ( Array< Point2D > ioPoints)
inlinestatic

Removes points with NaN of INF coordinates.

Parameters
ioPointsArray of points. It will be modified in-place.