Table of Contents

Method AngleBetween

Namespace
LMKit.Graphics.Geometry
Assembly
LM-Kit.NET.dll

AngleBetween(Point, Point)

Computes the smallest angle between two vectors (points), in radians.

public static double AngleBetween(Point a, Point b)

Parameters

a Point

First vector.

b Point

Second vector.

Returns

double

The angle in radians within [0, π]. Returns NaN if either vector has zero length.