Uses of Interface
com.solibri.geometry.primitive2d.Ray2d
Package | Description |
---|---|
com.solibri.geometry.primitive2d |
-
Uses of Ray2d in com.solibri.geometry.primitive2d
Subinterfaces of Ray2d in com.solibri.geometry.primitive2d Modifier and Type Interface Description interface
MRay2d
Mutable interface to handle 2-dimensional rays.Methods in com.solibri.geometry.primitive2d that return Ray2d Modifier and Type Method Description static Ray2d
Ray2d. create(Vector2d origin, Vector2d direction)
Returns a ray with the given origin and direction.static Ray2d
Ray2d. create(Ray2d other)
Returns a deep copy of the given ray.Methods in com.solibri.geometry.primitive2d with parameters of type Ray2d Modifier and Type Method Description static MRay2d
MRay2d. create(Ray2d other)
Returns a deep copy of the given ray.static Ray2d
Ray2d. create(Ray2d other)
Returns a deep copy of the given ray.Optional<MVector2d>
Ray2d. intersect(Ray2d ray)
Returns an optional containing the intersection point between the rays if present, an empty optional otherwise.boolean
Ray2d. intersects(Ray2d ray)
Returns true if the rays intersect, false otherwise.