Class acme_ray¶
Defined in File acme_ray.m
Inheritance Relationships¶
Base Type¶
public acme_entity
(Class acme_entity)
Class Documentation¶
-
class acme_ray : public acme_entity¶
-
Public Functions
-
function acme_ray(varargin)¶
-
Create a new C++ pointer to ray object instance.
Class container for ACME ray object
-
function getOrigin()¶
-
Delete C++ pointer to ray object instance.
Get ray origin as ACME point object
-
function getDirection()¶
-
Get ray direction.
-
function setOrigin(other_obj)¶
-
Set ray origin with an ACME point object.
-
function setDirection(other_obj)¶
-
Set ray direction.
-
function copy(other_obj)¶
-
Copy ray object from another ray.
-
function copyByHandle(handle)¶
-
Copy ray object from another ray handle.
-
function translate(other_obj)¶
-
Translate ray by vector.
-
function transform(varargin)¶
-
Transform ray by 4x4 affine transformation matrix.
-
function isInside(other_obj)¶
-
Check if ACME point is inside the ray.
-
function isDegenerated()¶
-
Check if ray is degenerated.
-
function isApprox(other_obj)¶
-
Check if rays are approximatively equal.
-
function normalize()¶
-
Normalize direction vector.
-
function toVector()¶
-
Transform ray to vector.
-
function toNormalizedVector()¶
-
Transform ray to normalized vector.
-
function reverse()¶
-
Swap ray vertices.
-
function isParallel(other_obj)¶
-
Check if ray is parallel to an ACME object.
-
function isOrthogonal(other_obj)¶
-
Check if ray is orthogonal to an ACME object.
-
function isCollinear(other_obj)¶
-
Check if ray is collinear to an ACME object.
-
function isCoplanar(other_obj)¶
-
Check if ray is coplanar to an ACME object.
-
function intersection(other_obj)¶
-
Intersect ray with an ACME object.
-
function disp()¶
-
Display object data.
- function plot (in this, ()figure_name, ()alpha color, ()limit)
-
Plot ray object.
-
virtual function type()¶
-
Get object type as string.
-
function acme_ray(varargin)¶