Previous Next Up Title Contents Index Functions Index Top Library

DEFINITION OF A 3D DOMAIN

TDOMA3


CALL SEQUENCE

TDOMA3 (XMIN, YMIN, ZMIN, XMAX, YMAX, ZMAX)

INPUT PARAMETERS

REAL	XMIN
REAL	YMIN
REAL	ZMIN
REAL	XMAX
REAL	YMAX
REAL	ZMAX

ARGUMENTS

XMIN,YMIN,ZMIN
Coordinates of the lower-left point of the domain.
XMAX,YMAX,ZMAX
Coordinates of the upper-right point of the domain.

EFFECT

This function defines the limits of the 3-D space for the user data and should be called before creating any objects with this data. This domain is very easy to calculate because it is defined simply by the minimum and maximum X-axis, Y-axis and Z-axis (height) values of the user data.

The domain, [XMIN-XMAX] × [YMIN-YMAX] × [ZMIN-ZMAX], is associated with a homogeneous coordinate system, [0-1] × [0-1] × [0-1], used as a reference for certain PHIGURE function attributes (such as axis character height), but also as a reference to define the observer's viewpoint for scene visualization.

By default, primitives which exceed the limits of the domain are not clipped, that is, are not cut off at the edge of the domain during visualization. To turn on clipping, simply call the function TSMCLI after creating the scene associated with this domain (see functions TSMCLI and TSCENE).


Previous Next Up Title Contents Index Functions Index Top Library