Constructing a Triangulation Outline

The method

void CalculateBoundsSltFast( const MbGrid &                    grid,
                             const MbMatrix3D &                matrix,
                                   bool                        perspective,
                                   RPArray< MbFloatPoint3D > & points );

constructs triangulation outline lines.

The input parameters of the method are:

  • grid – triangulation of a body face,

  • matrix – matrix that defines the viewing vector,

  • perspective – flag of perspective display.

The output parameter of the method is:

points – a set of pointers to points from the grid.points triangulation.

The method does not return a value.

The method is declared in the map_create.h file.

The method is intended for constructing polygonal outline lines and is used to visualize the triangulation silhouette.