@Equality public class PointCloud extends java.lang.Object
The unordered semantics of this class is imposed by the equality requirement. Most of the ordering could be restored by rewording the contract a bit differently if that becomes useful, but at time of writing it's not needed.
Constructor and Description |
---|
PointCloud(SubCloud subCloud)
Constructs a point cloud from a single subcloud.
|
PointCloud(SubCloud[] subClouds)
Constructs a point cloud from an array of subclouds.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<double[]> |
createDataPosIterable(DataStore dataStore)
Returns an iterable over data positions.
|
boolean |
equals(java.lang.Object o) |
SubCloud[] |
getSubClouds()
Returns an array of the subclouds in this point cloud.
|
int |
hashCode() |
public PointCloud(SubCloud[] subClouds)
subClouds
- array of cloud componentspublic PointCloud(SubCloud subCloud)
subCloud
- cloud componentpublic java.lang.Iterable<double[]> createDataPosIterable(DataStore dataStore)
dataDimCount
-element arrays
giving position in data space. The same double[]
array object is returned each time with different contents,
so beware of storing it between iterations.dataStore
- data storage objectpublic SubCloud[] getSubClouds()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.