Geom Software - C++ Programming and Geometry Libraries
Fade2.5D Documentation pages v1.59
GEOM_FADE25D::IsoContours Class Reference

IsoContours uses a fast datastructure to compute intersections of horizontal planes with a given list of triangles. More...

#include <IsoContours.h>

Public Member Functions

 IsoContours (std::vector< Triangle2 *> &vTriangles)
double getMinHeight ()
double getMaxHeight ()
bool getContours (double height, std::vector< std::vector< Segment2 > > &vvContours, bool bVerbose)

Protected Attributes

std::vector< Triangle2 * > vTriangles

Detailed Description

Member Function Documentation

◆ getContours()

bool GEOM_FADE25D::IsoContours::getContours ( double  height,
std::vector< std::vector< Segment2 > > &  vvContours,
bool  bVerbose 

Get Contours

Computes the intersection of a horizontal plane at a certain height with all triangles and returns a vector of assembled polygons and polylines.

◆ getMaxHeight()

double GEOM_FADE25D::IsoContours::getMaxHeight ( )

The the maximum height

Returns the largest z-coordinate

◆ getMinHeight()

double GEOM_FADE25D::IsoContours::getMinHeight ( )

Get the minimum height

Returns the smallest z coordinate

The documentation for this class was generated from the following file: