Geometry functions

The functions in Table 12 are present in the geometry classes (not wrapped into the graphics classes). Implementations for MGraphic3D GetGeometricBounds and GetLooseFitBounds (described below) call these functions. In addition, these functions can be called in other types of computations where you need to determine whether one geometry is contained within another geometry, or what the position of one geometry is in relation to another.

Function Description

Geometry hit detection functions
GetBounds Returns the bounding TGBox3D for the calling geometry.
Intersects Returns True when the calling geometry intersects the bounding TGBox3D passed in.
Contains Returns True when the calling area geometry contains the point passed in.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker