isPlanar

open fun isPlanar(vertexData: IVertexData, eps: Double = 0.01): Boolean(source)

Checks if the polygon defined by the given vertex data is planar.

Return

True if the polygon is planar, false otherwise.

Parameters

vertexData

The vertex data that contains the positions of the polygon's vertices.

eps

A small tolerance value used to determine planarity. Defaults to 1E-2.