<<<<<<<<<<<<<<<<<

plane(gert) Gert plane(gert)

NAME

plane

DESCRIPTION

Plane is a geometry object. It represents a plane surface y = 0 relative to local coordinate system. Since plane is a subclass of assembly, this geometry transforms into an arbitrary plane surface. If bounding_volume_test is set, the plane is limitied to a disk with center (0.5,0.5,0.5) and radius 0.5 in local coordinate system.

SUPERCLASS

geometry

INSTANCE VARIABLES

none

MESSAGES

intersect! finds ray-plane intersection.

near_far! calculates and returns supporting plane displacement for each of plane_normals.

normal! sets the normal to the surface.

row_products! this method exists for compatibility with other geometry primitives. It does nothing.

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. */ plane_1 := plane{ scale= (35,39,45) position=(0,0,15) properties=blue };

SEE ALSO

ray, geometry, block, cone, cone, sphere, properties


Please send comments and suggestions to
consult@rpi.edu