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

sphere_section_modeller(model)Geometric Modellingsphere_section_modeller(model)

NAME

sphere_section_modeller - a geometric representation of sphere_section

DESCRIPTION

The sphere_section_modeller class implements a geometric representation of a sphere_section representing a solid angle cut from the sphere and bounded by longitudinal angles phi1 and phi2, and altitudinal angles theta1 and theta2.

SUPERCLASS

sphere_modeller

INSTANCE VARIABLES

phi1 Spherical coordinate specifying one of the four sides, one of the longitudes.

phi2 Spherical coordinate specifying the side opposite that specified by phi1.

theta1 Spherical coordinate specifying the higher altitude. Zero corresponds to zenith.

theta2 Spherical coordinate specifying the lower altitude. Ninety degrees corresponds to horizontal plane.

MESSAGES

calculate! Build a local geometric representation if the object has been modified since the last time it was built.

phi1[=?] Sets/gets the phi1 instance variable.

phi2[=?] Sets/gets the phi2 instance variable.

theta1[=?] Sets/gets the theta1 instance variable.

theta2[=?] Sets/gets the theta2 instance variable.

EXAMPLE

sphere_section_modeller new: m1

position=(30,30,10)

position+(0,0,2)

resolution=5

scale=(150,150,150)

phi1=30

phi2=80

theta1=70

theta2=90 ;

actor new: b1 modeller= m1 color=(1,0,0) ;

SEE ALSO

new_modeller, two_d


Please send comments and suggestions to
consult@rpi.edu