Package com.solibri.smc.api.intersection
Interface Intersection
public interface Intersection
This is a class describing the intersection between the two components.
- Since:
- 9.10.2
-
Method Summary
Modifier and TypeMethodDescriptionReturns the intersection mesh.double
getSizeX()
Returns the size in X-coordinate of the intersection geometry.double
getSizeY()
Returns the size in Y-coordinate of the intersection geometry.double
getSizeZ()
Returns the size in Z-coordinate of the intersection geometry.double
Returns the volume of the intersection.boolean
Returns true if the intersection is a duplicate.boolean
isEmpty()
Returns true if the intersections is of zero size.
-
Method Details
-
getSizeX
double getSizeX()Returns the size in X-coordinate of the intersection geometry.- Returns:
- depth of the intersection
- Since:
- 9.10.2
-
getSizeY
double getSizeY()Returns the size in Y-coordinate of the intersection geometry.- Returns:
- width of the intersection
- Since:
- 9.10.2
-
getSizeZ
double getSizeZ()Returns the size in Z-coordinate of the intersection geometry.- Returns:
- height of the intersection
- Since:
- 9.10.2
-
getVolume
double getVolume()Returns the volume of the intersection.- Returns:
- intersection volume in cubic meters
- Since:
- 9.10.2
-
isEmpty
boolean isEmpty()Returns true if the intersections is of zero size.- Returns:
- true if the intersection is of zero size
- Since:
- 9.10.2
-
isDuplicate
boolean isDuplicate()Returns true if the intersection is a duplicate.- Returns:
- true if the intersection is a duplicate
- Since:
- 24.5.0
-
getIntersectionMesh
TriangleMesh getIntersectionMesh()Returns the intersection mesh.- Returns:
- the intersection mesh
- Since:
- 24.5.0
-