public class KDTreeRealPointCollection<L extends RealLocalizable> extends NNSRealPointCollection<L>
RealPointCollection
which checks if points are contained in the
collection by performing a NearestNeighborSearch
on the provided
KDTree
.interval, search
n
Constructor and Description |
---|
KDTreeRealPointCollection(Collection<L> points)
Creates a
RealPointCollection with the points in the
Collection . |
KDTreeRealPointCollection(KDTree<L> tree)
Creates a
RealPointCollection with the points in the
KDTree . |
equals, hashCode, points, realMax, realMax, realMax, realMin, realMin, realMin, size, test
numDimensions
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
boundaryType, equals, hashCode, maskType
and, isEmpty, minus, or, transform, xor
isAll, knownConstant
numDimensions
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
public KDTreeRealPointCollection(Collection<L> points)
RealPointCollection
with the points in the
Collection
.points
- Points which should be included in this point collection. This
Collection will be used to create a KDTree. The first point
determines the dimensionality of the collection.public KDTreeRealPointCollection(KDTree<L> tree)
RealPointCollection
with the points in the
KDTree
.tree
- KDTree which all the contains the desired points. The values
at each node in the tree will be ignored, only the positions
will be used. The first point determines the dimensionality of
the collection. Points cannot be added or removed.Copyright © 2015–2022 ImgLib2. All rights reserved.