CDT
1.4.1
C++ library for constrained Delaunay triangulation
|
Helper function to initialize triangulation with regular grid instead of super-triangle. More...
Go to the source code of this file.
Namespaces | |
namespace | CDT |
Namespace containing triangulation functionality. | |
Functions | |
template<typename OutputVertIt , typename OutputTriIt , typename TXCoordIter , typename TYCoordIter > | |
void | CDT::detail::generateGridVertices (OutputVertIt outVertsFirst, OutputTriIt outTrisFirst, const TXCoordIter xfirst, const TXCoordIter xlast, const TYCoordIter yfirst, const TYCoordIter ylast) |
Generate grid vertices given of X- and Y-ticks. | |
template<typename OutputIt > | |
void | CDT::detail::generateGridTriangles (OutputIt outFirst, const IndexSizeType xres, const IndexSizeType yres) |
Generate grid triangles. | |
template<typename T , typename TNearPointLocator > | |
void | CDT::initializeWithRegularGrid (const T xmin, const T xmax, const T ymin, const T ymax, const std::size_t xres, const std::size_t yres, Triangulation< T, TNearPointLocator > &out) |
Make a triangulation that uses regular grid triangles instead of super-triangle. | |
template<typename T , typename TNearPointLocator , typename TXCoordIter , typename TYCoordIter > | |
void | CDT::initializeWithIrregularGrid (const TXCoordIter xfirst, const TXCoordIter xlast, const TYCoordIter yfirst, const TYCoordIter ylast, Triangulation< T, TNearPointLocator > &out) |
Make a triangulation that uses irregular grid triangles instead of super-triangle. | |
Helper function to initialize triangulation with regular grid instead of super-triangle.
Definition in file InitializeWithGrid.h.
void CDT::detail::generateGridTriangles | ( | OutputIt | outFirst, |
const IndexSizeType | xres, | ||
const IndexSizeType | yres ) |
Generate grid triangles.
OutputIt | output iterator |
outFirst | the beginning of the destination range |
xres | grid X-resolution |
yres | grid Y-resolution |
Definition at line 109 of file InitializeWithGrid.h.
void CDT::detail::generateGridVertices | ( | OutputVertIt | outVertsFirst, |
OutputTriIt | outTrisFirst, | ||
const TXCoordIter | xfirst, | ||
const TXCoordIter | xlast, | ||
const TYCoordIter | yfirst, | ||
const TYCoordIter | ylast ) |
Generate grid vertices given of X- and Y-ticks.
OutputVertIt | output vertices iterator |
OutputTriIt | output triangles iterator |
TXCoordIter | iterator dereferencing to X coordinate |
TYCoordIter | iterator dereferencing to Y coordinate |
outFirst | the beginning of the destination range |
xfirst | beginning of X-ticks range |
xlast | end of X-ticks range |
yfirst | beginning of Y-ticks range |
ylast | end of Y-ticks range |
Definition at line 47 of file InitializeWithGrid.h.