AngleBetweenThreePoints
Measures the angle defined by three consecutive points.
Syntax
C++
Python
def AngleBetweenThreePoints( inPoint1: Point2D, inPoint2: Point2D, inPoint3: Point2D, /, *, inRotationDirection: RotationDirection = RotationDirection.Clockwise, outArc: Arc2D | None = None ) -> ( outAbsoluteAngle: float, outDirectedAngle: float )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPoint1 | Point2D | A point on one arm of an angle | |
![]() |
inPoint2 | Point2D | The middle point | |
![]() |
inPoint3 | Point2D | A point on another arm of the angle | |
![]() |
inRotationDirection | RotationDirection | RotationDirection.Clockwise | Chooses one of two ways of measuring the angle |
![]() |
outAbsoluteAngle | float | Angle value used for measurements <0; 360> | |
![]() |
outDirectedAngle | float | Angle value used for clockwise transformations <-360; 360> | |
![]() |
outArc | Arc2D | None | None | Angle visualization object |


