Class acme_ball¶
Defined in File acme_ball.m
Inheritance Relationships¶
Base Type¶
public acme_entity
(Class acme_entity)
Class Documentation¶
-
class acme_ball : public acme_entity¶
-
Public Functions
-
function acme_ball(varargin)¶
-
Create a new C++ pointer to ball object instance.
Class container for ACME ball object
-
function getRadius()¶
-
Create C++ pointer to ball object instance.
Get ball radius
-
function getCenter()¶
-
Get ball center as ACME point object.
-
function setRadius(radius)¶
-
Set ball radius.
-
function setCenter(other_obj)¶
-
Set ball center with an ACME point object.
-
function copy(other_obj)¶
-
Copy segment object from another segment.
-
function copyByHandle(handle)¶
-
Copy ball object from another ball handle.
-
function translate(other_obj)¶
-
Translate ball by vector.
-
function transform(affine)¶
-
Transform ball by 4x4 affine transformation matrix.
-
function isInside(other_obj)¶
-
Check if ACME point is inside the ball.
-
function isDegenerated()¶
-
Check if ball is degenerated.
-
function isApprox(other_obj)¶
-
Check if balls are approximatively equal.
-
function clamp()¶
-
Get ball minimum and maximum points of object instance.
-
function area()¶
-
Get ball perimeter.
-
function volume()¶
-
Get ball volume.
-
function isParallel(other_obj)¶
-
Check if ball is parallel to an ACME object.
-
function isOrthogonal(other_obj)¶
-
Check if ball is orthogonal to an ACME object.
-
function isCollinear(other_obj)¶
-
Check if ball is collinear to an ACME object.
-
function isCoplanar(other_obj)¶
-
Check if ball is coplanar to an ACME object.
-
function intersection(other_obj)¶
-
Intersect ball with an ACME object.
-
function disp()¶
-
Display object data.
-
function plot(figure_name, color)¶
-
Plot ball object.
-
virtual function type()¶
-
Get object type as string.
-
function acme_ball(varargin)¶