Package-level declarations
Types
Common surface shared by DelaunayTriangulation and ConstrainedDelaunayTriangulation: a set of vertex points and a triangulation of (some subset of) them.
Common surface for a Voronoi diagram generated from an AbstractDelaunayTriangulation's AbstractDelaunayTriangulation.points (the Voronoi sites), with cells clipped to bounds.
Computes a constrained Delaunay triangulation (CDT) of a Shape.
The Voronoi diagram dual to a ConstrainedDelaunayTriangulation's points, with every cell clipped both to bounds and to the triangulation's ConstrainedDelaunayTriangulation.shape -- so cells never extend outside a non-convex outer contour or across a hole boundary.
A Kotlin port of Mapbox's Delaunator incredibly fast JavaScript library for Delaunay triangulation of 2D points.
Use from static method to use the delaunay triangulation
Kotlin/OPENRNDR idiomatic interface to Delaunay
Properties
Functions
Computes the constrained Delaunay triangulation of this Shape.
Returns the result of adding two double-double-precision floating point numbers.
Returns the result of subtracting the second given double-double-precision floating point number from the first.
Returns the product of two double-double-precision floating point numbers.
Returns the product of a double-double-precision floating point number and a double.
Computes the Delaunay triangulation for the list of 2D points.
Returns the difference and exact error of subtracting two floating point numbers. Uses an EFT (error-free transformation), i.e. a-b === x+y exactly. The returned result is a non-overlapping expansion (smallest value first!).
Returns the sum and exact error of adding two floating point numbers. Uses an EFT (error-free transformation), i.e. a+b === x+y exactly. The returned sum is a non-overlapping expansion (smallest value first!).
Truncates a floating point value's significand and returns the result. Similar to split, but with the ability to specify the number of bits to keep.
Returns the result of splitting a double into 2 26-bit doubles.
Returns the exact result of subtracting b from a.
Returns the exact result of multiplying two doubles.
Returns the exact result of adding two doubles.
Generates a Voronoi diagram based on the points in the list and the provided bounds.