public interface DistanceService
Modifier and Type | Method and Description |
---|---|
boolean |
distanceIsLessThan(Component component1,
Component component2,
double limit)
Tests whether the Euclidean 3D distance between two components is less than the given maximum distance.
|
Distance |
getDistance(Component component1,
Component component2)
Gets a distance measure between two components using Euclidean 3D-distance.
|
Distance |
getDistance(Component component1,
Component component2,
DistanceCalculationMethodType method)
Gets a distance measure between two components.
|
Distance getDistance(Component component1, Component component2)
component1
- the first componentcomponent2
- the other componentDistance getDistance(Component component1, Component component2, DistanceCalculationMethodType method)
component1
- the first componentcomponent2
- the other componentmethod
- the distance calculation methodboolean distanceIsLessThan(Component component1, Component component2, double limit)
component1
- the first componentcomponent2
- the other componentlimit
- the maximum distance between the two componentsCopyright © 2019 Solibri, Inc.. All rights reserved.