Package com.solibri.geometry.primitive3d
Interface MRay3d
- All Superinterfaces:
Ray3d
public interface MRay3d extends Ray3d
Interface to handle 3-dimensional rays.
- Since:
- 9.10.2
-
Method Summary
Modifier and Type Method Description static MRay3d
create(Vector3d origin, Vector3d direction)
Returns a ray with the given origin and direction.static MRay3d
create(Ray3d other)
Returns a deep copy of the given ray.void
setDirection(Vector3d direction)
Sets the direction of this ray.void
setOrigin(Vector3d origin)
Sets the origin of this ray.Methods inherited from interface com.solibri.geometry.primitive3d.Ray3d
getDirection, getOrigin, intersect, intersects, intersects
-
Method Details
-
create
Returns a deep copy of the given ray.- Parameters:
other
- the other ray- Returns:
- a deep copy of the given ray
- Since:
- 9.10.2
-
create
Returns a ray with the given origin and direction.- Parameters:
origin
- the origin of the raydirection
- the direction of the ray- Returns:
- a ray with the given origin and direction
- Since:
- 9.10.2
-
setOrigin
Sets the origin of this ray.- Parameters:
origin
- the new origin- Since:
- 9.10.2
-
setDirection
Sets the direction of this ray.- Parameters:
direction
- the new direction- Since:
- 9.10.2
-