coplanarPoints?()

Synopsis

Returns True if all of the points in points are within tolerance of the first 3 non-colinear points in the same set. A list of 1, 2, or 3 points automatically returns True . A set of coincident or colinear points (within tolerance) also returns True .

Syntax

coplanarPoints? ( points As List, _
                  tolerance As Number ) As Boolean 
Argument Type Description
points List The set of points to be tested.
tolerance Number The distance by which points are permitted to deviate from the plane.

Example 1

coplanarPoints?({point(0,0,0),point(1,2,0),point(4,5,0),point(5,6,0.25),point(7,8,-0.25)},0.5)
--> True 

Example 2

coplanarPoints?({point(0,0,0),point(1,2,0),point(4,5,0),point(5,6,0.25),point(7,8,-0.25)},0.1)
--> False