public class RealPointSampleListWritableRealPointCollection<L extends RealLocalizable> extends NNSRealPointCollection<L> implements WritableRealPointCollection<L>
WritableRealPointCollection which checks if points are contained in
the collection by performing a NearestNeighborSearch on the provided
RealPointSampleList.
Points can be added to this collection, however they cannot yet be removed as
RealPointSampleList does not currently support this.
interval, searchn| Constructor and Description |
|---|
RealPointSampleListWritableRealPointCollection(Collection<L> points)
Creates a
RealPointCollection with the points in the
Collection. |
RealPointSampleListWritableRealPointCollection(RealPointSampleList<L> points)
Creates a
RealPointCollection with the points in the
RealPointSampleList. |
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(L point)
Adds a point to the collection.
|
equals, hashCode, points, realMax, realMax, realMax, realMin, realMin, realMin, size, testnumDimensionsclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitremovePointboundaryType, equals, equals, hashCode, maskType, points, sizeand, isEmpty, minus, or, realMax, realMax, realMin, realMin, transform, xorisAll, knownConstantnumDimensionsmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMinpublic RealPointSampleListWritableRealPointCollection(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 RealPointSampleList.public RealPointSampleListWritableRealPointCollection(RealPointSampleList<L> points)
RealPointCollection with the points in the
RealPointSampleList.points - Contains the points which will be included in this collection.
Only the positions of the points will be used, the values at
those positions will be ignored. The first point determines
the dimensionality of the collection.public void addPoint(L point)
WritableRealPointCollectionaddPoint in interface WritableRealPointCollection<L extends RealLocalizable>point - Point to add to collectionCopyright © 2015–2022 ImgLib2. All rights reserved.