Class DistanceRecord
java.lang.Object
cz.fidentis.analyst.engines.distance.measurement.DistanceRecord
This objects stores data about the distance from a single facet's vertex to another surface.
-
Constructor Summary
ConstructorsConstructorDescriptionDistanceRecord
(MeshPoint facetPoint, double distance, MeshPoint nearestNeighbor) Constructor. -
Method Summary
-
Constructor Details
-
DistanceRecord
Constructor.- Parameters:
facetPoint
- facet's source point, must not benull
distance
- measured distance, can be infinite ot NaNnearestNeighbor
- the closest point from another surface (can benull
)
-
-
Method Details
-
getFacetPoint
-
getDistance
public double getDistance() -
getNearestNeighbor
-
getWeight
public double getWeight() -
setWeight
public void setWeight(double weight) Sets new weight- Parameters:
weight
- new weight value, must be bigger than or equal to zero
-