Skip to content

pointInCircleFromPoints

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/dot/blob/main/js/util/pointInCircleFromPoints.ts for the most up-to-date information.

Overview

Returns whether the point p is inside the circle defined by the other three points (p1, p2, p3).

NOTE: p1,p2,p3 should be specified in a counterclockwise (mathematically) order, and thus should have a positive signed area.

See notes in https://en.wikipedia.org/wiki/Delaunay_triangulation.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Source Code

See the source for pointInCircleFromPoints.ts in the dot repository.