DelaunayAlphaShapes

org.appliedtopology.tda4j.DelaunayAlphaShapes
See theDelaunayAlphaShapes companion class

Attributes

Companion
class
Experimental
true
Source
AlphaShapes.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class FaceTable(val width: Int, expected: Int)

The simplices of one dimension, each a row of width sorted vertex indices, numbered as first added.

The simplices of one dimension, each a row of width sorted vertex indices, numbered as first added.

Attributes

Companion
object
Source
AlphaShapes.scala
Supertypes
class Object
trait Matchable
class Any
object FaceTable

Attributes

Companion
class
Source
AlphaShapes.scala
Supertypes
class Object
trait Matchable
class Any
Self type
FaceTable.type

Value members

Concrete methods

def circumsphere(coords: Array[Array[Double]], vs: Array[Int], center: Array[Double], at: Int): Double

The smallest sphere through the points vs (indices into coords): its centre, in their affine hull, is written to center from at, and its radius returned. With D the matrix whose columns are the edge vectors p_i - p0 and D = Q R its Householder QR factorization, the centre is p0 + Q y with R^T y = |p_i - p0|^2 / 2. (The Gram system D^T D squares the condition number, which on slivers loses about half the digits.)

The smallest sphere through the points vs (indices into coords): its centre, in their affine hull, is written to center from at, and its radius returned. With D the matrix whose columns are the edge vectors p_i - p0 and D = Q R its Householder QR factorization, the centre is p0 + Q y with R^T y = |p_i - p0|^2 / 2. (The Gram system D^T D squares the condition number, which on slivers loses about half the digits.)

Attributes

Source
AlphaShapes.scala