Previous Next Up Title Contents Index Functions Index Top Library

DEFINITION OF A 2D DOMAIN

TDOMA2


CALL SEQUENCE

TDOMA2 (XMIN,YMIN, XMAX,YMAX)

INPUT PARAMETERS

REAL	XMIN
REAL	YMIN
REAL	XMAX
REAL	YMAX

ARGUMENTS

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

EFFECT

This function defines the limits of the 2-D space for the user data and must 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 and Y-axis values of the user data.

The domain, [XMIN-XMAX] × [YMIN-YMAX], is associated with a homogeneous coordinate system,

[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 that 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