Ellipsoid()

Plots a shiny or matt coloured elliptical ball inside a three dimensional window

Ellipsoid/DRAW centre=Realarray paxes=Realarray icline=Integer anglin=Real table=Colourtable [eye=Realarray] [light=Realarray] Plots an elliptical ball, in a 3d window.
Ellipsoid/ALTER [centre=Realarray] [paxes=Realarray] [icline=Integer] [anglin=Real] [table=Colourtable] [eye=Realarray] [light=Realarray] object=Gobject Alters a previously plotted ellipsoid.

example:

	#Plot an ellipsoid
	>> e=Ellipsoid:draw(centre,paxes,4,5.0,table)
	#Alter the anglin value
	>> Ellipsoid/alter anglin=2.5 object=e

Ellipsoid/Draw

Plots a shiny or matt coloured elliptical ball inside a 3d window. All (x,y,z) values are taken to be given in world coordinates. The z component of the ball-centre should be negative (< -radius).

Parameters:

centre (Realarray)

(x,y,z) coordinate of the balls centre..

paxes (Realarray)

The principal axes of the ellipsoid. The array should be allocated by DIMENSIONS(3,3).

icline (Integer)

If >=0 then icline is the colour index for lines on the ellipsoids surface.

anglin (Real)

Width of lines: +/- degrees.

table (Colourtable)

The colour table to be used, see ColourTable for details.

eye (Realarray)

(x,y,z) coordinate of the eye position, see Win_ThreeD for details.

light (Realarray)

(x,y,z) direction of the flood-light, see Win_ThreeD for details.

RESULT = (Gobject)

Returns the properties of the newly created ellipsoid.

Ellipsoid/Alter

Alters an ellipsoid drawn inside a 3d window.

Parameters:

centre (Realarray)

(x,y,z) coordinate of the balls centre..

paxes (Realarray)

The principal axes of the ellipsoid. The array should be allocated by DIMENSIONS(3,3).

icline (Integer)

If >=0 then icline is the colour index for lines on the ellipsoids surface.

anglin (Real)

Width of lines: +/- degrees.

table (Colourtable)

The colour table to be used, see ColourTable for details.

eye (Realarray)

(x,y,z) coordinate of the eye position, see Win_ThreeD for details.

light (Realarray)

(x,y,z) direction of the flood-light, see Win_ThreeD for details.

object (Gobject)

The ellipsoid object to be altered.

RESULT = (Gobject)

Returns the properties of the altered ellipsoid.