conic(gert) Gert conic(gert)
NAME
conic
DESCRIPTION
Conic is a geometry object. It represents a unit conic
surface relative to local coordinate system (x^2 + z^2 =
y^2). The surface is bounded by planes y = 0 and y = 1,
however disk x^2 + z^2 <= 1, y = 1 is not included (conic
is "open", see also cone object). Since conic is a subclass of assembly, this geometry transforms into an arbitrary elliptical conic surface.
SUPERCLASS
geometry
INSTANCE VARIABLES
none
MESSAGES
intersect!
finds ray-conic intersection.
near_far!
calculates and returns supporting plane displacement for each of plane_normals.
normal!
sets the normal to the surface.
row_products!
calculates a matrix of pairwise scalar products of
scene_to_local_transform. This matrix is used by
"normal!" method.
transform_bounding_volume!
transforms bounding volume center and radius to the
global coordinate system.
EXAMPLE
/*
Blue below should be defined as properties objects in GERT,
DO NOT CONFUSE with property object in OSCAR.
*/
conic_1 := conic{
scale= (35,39,45)
position=(0,0,15)
properties=blue
};
SEE ALSO
ray, geometry, cone, cylinder, sphere, properties
Please send comments and suggestions toconsult@rpi.edu