BowyerWatsonDelaunay
The Delaunay triangulation of a point cloud by Bowyer–Watson insertion, filtered as an alpha complex: for point clouds in 2 to 4 dimensions (of their affine span), the fast way to the whole alpha complex.
Points are inserted one at a time in a randomized, spatially sorted order; each insertion removes the simplices whose circumspheres contain the new point and fills the hole with simplices through it. The hull is handled with a vertex at infinity. Every geometric decision is exact (DelaunayPredicates), and points exactly on a circumsphere are decided by a perturbation that depends only on the points' order in the input, so the result is a valid triangulation for any input, degenerate ones (grids, cospherical points) included, and the same for every seed. Points that coincide exactly with an earlier one are joined to it by an edge of value 0.
Value parameters
- pts
-
the points; their affine span must have dimension 1 to 4
- seed
-
seeds the insertion order, which affects only the running time
Attributes
- Experimental
- true
- Source
- BowyerWatson.scala
- Graph
-
- Supertypes
-
class DelaunayAlphaShapestrait FlatLayerStreamclass AlphaShapestrait Filterable[Double]class Objecttrait Matchableclass AnyShow all
Members list
Value members
Inherited methods
Attributes
- Definition Classes
- Inherited from:
- DelaunayAlphaShapes
- Source
- AlphaShapes.scala
Attributes
- Definition Classes
- Inherited from:
- DelaunayAlphaShapes
- Source
- AlphaShapes.scala
The dimensions straight from the face tables, without a Simplex per cell: each in the order the cohomology engines take it in, ascending value and, among equal values, ascending lexicographic order (the reverse of the stream's own listing of them). None when points are repeated: their extra cells are not in the tables.
The dimensions straight from the face tables, without a Simplex per cell: each in the order the cohomology engines take it in, ascending value and, among equal values, ascending lexicographic order (the reverse of the stream's own listing of them). None when points are repeated: their extra cells are not in the tables.
Attributes
- Definition Classes
- Inherited from:
- DelaunayAlphaShapes
- Source
- AlphaShapes.scala
Some(k) for a complex cut off to compute homology in degrees 0..k (what VietorisRips(points, maxDimension = k) returns, holding cells up to dimension k + 1): its higher degrees are not the homology of the full complex. None (the default) for a complete complex.
Some(k) for a complex cut off to compute homology in degrees 0..k (what VietorisRips(points, maxDimension = k) returns, holding cells up to dimension k + 1): its higher degrees are not the homology of the full complex. None (the default) for a complete complex.
Attributes
- Inherited from:
- StratifiedCellStream
- Source
- SimplexStream.scala
The cells of dimension d, oldest first. The domain must be contiguous from 0 (0, 1, ..., k, or empty, or all of the naturals): iterator stops at the first dimension where this is undefined.
The cells of dimension d, oldest first. The domain must be contiguous from 0 (0, 1, ..., k, or empty, or all of the naturals): iterator stops at the first dimension where this is undefined.
Attributes
- Definition Classes
- Inherited from:
- DelaunayAlphaShapes
- Source
- AlphaShapes.scala
All the cells, dimension by dimension. Stops at the first undefined dimension (takeWhile, never filter, which would search forever past the last one).
All the cells, dimension by dimension. Stops at the first undefined dimension (takeWhile, never filter, which would search forever past the last one).
Attributes
- Definition Classes
-
StratifiedCellStream -> IterableOnce
- Inherited from:
- StratifiedCellStream
- Source
- SimplexStream.scala
The number of elements in this collection, if it can be cheaply computed, -1 otherwise. Cheaply usually means: Not requiring a collection traversal.
The number of elements in this collection, if it can be cheaply computed, -1 otherwise. Cheaply usually means: Not requiring a collection traversal.
Attributes
- Inherited from:
- IterableOnce
- Source
- IterableOnce.scala
Attributes
- Inherited from:
- DelaunayAlphaShapes
- Source
- AlphaShapes.scala
Attributes
- Inherited from:
- DelaunayAlphaShapes
- Source
- AlphaShapes.scala
The smallest sphere through every vertex of s: its centre lies in s's own affine hull (Hypersphere.apply is for full-dimensional simplices only).
The smallest sphere through every vertex of s: its centre lies in s's own affine hull (Hypersphere.apply is for full-dimensional simplices only).
Attributes
- Inherited from:
- DelaunayAlphaShapes
- Source
- AlphaShapes.scala
Returns a scala.collection.Stepper for the elements of this collection.
Returns a scala.collection.Stepper for the elements of this collection.
The Stepper enables creating a Java stream to operate on the collection, see scala.jdk.StreamConverters. For collections holding primitive values, the Stepper can be used as an iterator which doesn't box the elements.
The implicit scala.collection.StepperShape parameter defines the resulting Stepper type according to the element type of this collection.
- For collections of
Int,Short,ByteorChar, an scala.collection.IntStepper is returned - For collections of
DoubleorFloat, a scala.collection.DoubleStepper is returned - For collections of
Longa scala.collection.LongStepper is returned - For any other element type, an scala.collection.AnyStepper is returned
Note that this method is overridden in subclasses and the return type is refined to S with EfficientSplit, for example scala.collection.IndexedSeqOps.stepper. For Steppers marked with scala.collection.Stepper.EfficientSplit, the converters in scala.jdk.StreamConverters allow creating parallel streams, whereas bare Steppers can be converted only to sequential streams.
Attributes
- Inherited from:
- IterableOnce
- Source
- IterableOnce.scala
Concrete fields
The dimension of the triangulation (of the points' affine span).
The dimension of the triangulation (of the points' affine span).
Attributes
- Source
- BowyerWatson.scala
Attributes
- Source
- BowyerWatson.scala
The points, in the coordinates the triangulation was built in.
Inherited fields
Attributes
- Inherited from:
- DoubleFiltration
- Source
- SimplexStream.scala
Attributes
- Inherited from:
- DelaunayAlphaShapes
- Source
- AlphaShapes.scala
Attributes
- Inherited from:
- DelaunayAlphaShapes
- Source
- AlphaShapes.scala
Attributes
- Inherited from:
- DoubleFiltration
- Source
- SimplexStream.scala