oevislib_net  0.14.3.0
Loading...
Searching...
No Matches
oevislib_net.Geometry.AngleMetrics Class Reference

Static Public Member Functions

static float NormalizeAngle (float inAngle)
 Computes the angle normalized in the range [0, 360).
static float NormalizeAngle (float inAngle, AngleRange inAngleRange, float inBaseAngle=0.0f)
 Normalizes an angle using the provided range.
static float MeasureAngle (float inDirection1, float inDirection2, RotationDirection inRotationDirection, AngleRange inAngleRange)
 Measures the angle created by the two provided directions.
static float MeasureDirectedAngle (float inDirection1, float inDirection2, RotationDirection inRotationDirection, AngleRange inAngleRange)
 Measures the angle formed between the two provided directions.
static float MeasureAngle (Vector2D inVector1, Vector2D inVector2, RotationDirection inRotationDirection)
 Measures the angle formed between the two provided vectors.
static float MeasureDirectedAngle (Vector2D inVector1, Vector2D inVector2, RotationDirection inRotationDirection)
 Measures the angle formed between the two provided vectors.
static float MeasureAngle (Line2D inLine1, Line2D inLine2)
 Measures the smallest angle formed between two lines.
static float MeasureAngle (Point2D inPoint1, Point2D inPoint2, Point2D inPoint3, RotationDirection inRotationDirection, Optional< Arc2D > outArc=null)
 Measures the angle formed between the three provided points.
static float MeasureDirectedAngle (Point2D inPoint1, Point2D inPoint2, Point2D inPoint3, RotationDirection inRotationDirection, Optional< Arc2D > outArc=null)
 Measures the angle formed between the three provided points.
static float MeasureAngle (Segment2D inSegment1, Segment2D inSegment2, AngleMetric inAngleMetric, Optional< Arc2D > outArc=null)
 Measures the angle formed between the two provided segments.
static float MeasureDirectedAngle (Segment2D inSegment1, Segment2D inSegment2, AngleMetric inAngleMetric, Optional< Arc2D > outArc=null)
 Measures the angle formed between the two provided segments.
static float RotateAngle (float inAngle, float inRotation, AngleRange inAngleRange, bool inInverse)
 Computes the sum of two angles.
static float RotateAngle (float inAngle, float inTargetAngle, float inRotation, AngleRange inAngleRange, bool inInverse)
 Rotates an angle towards a target angle, in the direction of minimum rotation.