Modifier and Type | Method and Description |
---|---|
static MRay3d |
create(Ray3d other)
Returns a deep copy of the given ray.
|
static MRay3d |
create(Vector3d origin,
Vector3d direction)
Returns a ray with the given origin and direction.
|
void |
setDirection(Vector3d direction)
Sets the direction of this ray.
|
void |
setOrigin(Vector3d origin)
Sets the origin of this ray.
|
getDirection, getOrigin, intersect, intersects, intersects
static MRay3d create(Vector3d origin, Vector3d direction)
void setOrigin(Vector3d origin)
origin
- the new originvoid setDirection(Vector3d direction)
direction
- the new directionCopyright © 2019 Solibri, Inc.. All rights reserved.