Package com.solibri.geometry.primitive2d
Interface MRay2d
- All Superinterfaces:
- Ray2d
Mutable interface to handle 2-dimensional rays.
- Since:
- 9.10.2
- 
Method SummaryModifier and TypeMethodDescriptionstatic MRay2dReturns a ray with the given origin and direction.static MRay2dReturns a deep copy of the given ray.voidsetDirection(Vector2d direction) Sets the direction of this ray.voidSets the origin of this ray.Methods inherited from interface com.solibri.geometry.primitive2d.Ray2dgetDirection, getOrigin, intersect, intersects, intersects
- 
Method Details- 
createReturns a deep copy of the given ray.- Parameters:
- other- the other ray
- Returns:
- a deep copy of the given ray
- Since:
- 9.10.2
 
- 
createReturns a ray with the given origin and direction.- Parameters:
- origin- the origin of the ray
- direction- the direction of the ray
- Returns:
- a ray with the given origin and direction
- Since:
- 9.10.2
 
- 
setOriginSets the origin of this ray.- Parameters:
- origin- the new origin
- Since:
- 9.10.2
 
- 
setDirectionSets the direction of this ray.- Parameters:
- direction- the new direction
- Since:
- 9.10.2
 
 
-