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

display_data_geometry(display)Displaydisplay_data_geometry(display)

NAME

display_data_geometry - performs geometric computation on the display data object

DESCRIPTION

Display_data_geometry provides methods for geometric computation of display_data.

SUPERCLASS

display_data

INSTANCE VARIABLES

tolerance tolerance (in world coordinates) for performing geometric computation

MESSAGES

tolerance= value set the calculation tolerance.

tolerance? get the calculation tolerance.

intersect_with_line: (p1(x,y,z), p2(x,y,z)) perform geometric intersection with the line defined using the six floating point values p1(x,y,z) and p2(x,y,z).

intersection? return non-zero if intersection has occurred.

intersection_point? return the x-y-z coordinates of the line intersection point.

intersection_pcoord? return the parametric coordinate along the intersecting line.

intersection_normal? return the geometric normal at the intersection point

id? return the id of the display_data primitive that was intersected (i.e., primitives are lines, polygons, and/or triangle_strips).

type? return the type of the display_data primitive that was intersected (i.e., "line", "polygon", or "triangle_strip").

free! delete the object and release memory back to the system.releas

EXAMPLE

Currently used by the surface_picker object.

SEE ALSO

display_data, surface_picker, point_picker, picker


Please send comments and suggestions to
consult@rpi.edu