CDT  1.4.1
C++ library for constrained Delaunay triangulation
Loading...
Searching...
No Matches
Advanced Triangulation Methods

Advanced methods for manually modifying the triangulation from outside. More...

Functions

void CDT::Triangulation< T, TNearPointLocator >::flipEdge (TriInd iT, TriInd iTopo)
 Flip an edge between two triangle.
 
void CDT::Triangulation< T, TNearPointLocator >::flipEdge (TriInd iT, TriInd iTopo, VertInd v1, VertInd v2, VertInd v3, VertInd v4, TriInd n1, TriInd n2, TriInd n3, TriInd n4)
 
void CDT::Triangulation< T, TNearPointLocator >::removeTriangles (const TriIndUSet &removedTriangles)
 Remove triangles with specified indices.
 
TriIndVecCDT::Triangulation< T, TNearPointLocator >::VertTrisInternal ()
 Access internal vertex adjacent triangles.
 
const TriIndVecCDT::Triangulation< T, TNearPointLocator >::VertTrisInternal () const
 Access internal vertex adjacent triangles.
 

Detailed Description

Advanced methods for manually modifying the triangulation from outside.

Please only use them when you know what you are doing.

Function Documentation

◆ flipEdge() [1/2]

template<typename T , typename TNearPointLocator >
void CDT::Triangulation< T, TNearPointLocator >::flipEdge ( TriInd iT,
TriInd iTopo )

Flip an edge between two triangle.

Note
Advanced method for manually modifying the triangulation from outside. Please call it when you know what you are doing.
Parameters
iTfirst triangle
iToposecond triangle

Definition at line 1532 of file Triangulation.hpp.

◆ flipEdge() [2/2]

template<typename T , typename TNearPointLocator >
void CDT::Triangulation< T, TNearPointLocator >::flipEdge ( TriInd iT,
TriInd iTopo,
VertInd v1,
VertInd v2,
VertInd v3,
VertInd v4,
TriInd n1,
TriInd n2,
TriInd n3,
TriInd n4 )

Definition at line 1293 of file Triangulation.hpp.

◆ removeTriangles()

template<typename T , typename TNearPointLocator >
void CDT::Triangulation< T, TNearPointLocator >::removeTriangles ( const TriIndUSet & removedTriangles)

Remove triangles with specified indices.

Adjust internal triangulation state accordingly.

Parameters
removedTrianglesindices of triangles to remove

Definition at line 176 of file Triangulation.hpp.

◆ VertTrisInternal() [1/2]

template<typename T , typename TNearPointLocator >
TriIndVec & CDT::Triangulation< T, TNearPointLocator >::VertTrisInternal ( )

Access internal vertex adjacent triangles.

Definition at line 213 of file Triangulation.hpp.

◆ VertTrisInternal() [2/2]

template<typename T , typename TNearPointLocator >
const TriIndVec & CDT::Triangulation< T, TNearPointLocator >::VertTrisInternal ( ) const

Access internal vertex adjacent triangles.

Definition at line 219 of file Triangulation.hpp.