Class acme_line

Inheritance Relationships

Base Type

Class Documentation

class acme_line : public acme_entity

Public Functions

function acme_line(varargin)

Create a new C++ pointer to line object instance.

Class container for ACME line object

virtual function type()

Delete C++ pointer to line object instance.

Get object type as string

function getOrigin()

Get line origin as ACME point object.

function getDirection()

Get line direction.

function setOrigin(other_obj)

Set line origin with an ACME point object.

function setDirection(other_obj)

Set line direction.

function copy(other_obj)

Copy line object from another line.

function copyByHandle(handle)

Copy line object from another line handle.

function translate(other_obj)

Translate line by vector.

function transform(varargin)

Transform line by 4x4 affine transformation matrix.

function isInside(other_obj)

Check if ACME point is inside the line.

function isDegenerated()

Check if line is degenerated.

function isApprox(other_obj)

Check if lines are approximatively equal.

function normalize()

Normalize direction vector.

function toVector()

Transform line to vector.

function toNormalizedVector()

Transform line to normalized vector.

function reverse()

Swap line direction.

function isParallel(other_obj)

Check if line is parallel to an ACME object.

function isOrthogonal(other_obj)

Check if line is orthogonal to an ACME object.

function isCollinear(other_obj)

Check if line is collinear to an ACME object.

function isCoplanar(other_obj)

Check if line is coplanar to an ACME object.

function intersection(other_obj)

Intersect line with an ACME object.

function disp()

Display object data.

function plot(figure_name, color)

Plot line object.