Geogram Version 1.10.0-rc
A programming library of geometric algorithms
Loading...
Searching...
No Matches
GEO::TriangleIsects Class Reference

A small vector of TriangleIsect stored in an array with static size. More...

#include <geogram/mesh/triangle_intersection.h>

Public Types

typedef TriangleIsectiterator
 
typedef const TriangleIsectconst_iterator
 

Public Member Functions

iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
void push_back (const TriangleIsect &I)
 
void clear ()
 
index_t size () const
 
void resize (index_t new_size)
 
TriangleIsectoperator[] (index_t i)
 
const TriangleIsectoperator[] (index_t i) const
 

Detailed Description

A small vector of TriangleIsect stored in an array with static size.

Used to return the symbolic information of triangle-triangle intersections. It is interesting to have a specialized class that avoids dynamic allocations for cases where triangle-triangle intersection is called in concurrent threads.

Definition at line 126 of file triangle_intersection.h.

Member Typedef Documentation

◆ const_iterator

typedef const TriangleIsect* GEO::TriangleIsects::const_iterator

Definition at line 132 of file triangle_intersection.h.

◆ iterator

typedef TriangleIsect* GEO::TriangleIsects::iterator

Definition at line 131 of file triangle_intersection.h.

Constructor & Destructor Documentation

◆ TriangleIsects()

GEO::TriangleIsects::TriangleIsects ( )
inline

Definition at line 128 of file triangle_intersection.h.

Member Function Documentation

◆ begin() [1/2]

iterator GEO::TriangleIsects::begin ( )
inline

Definition at line 134 of file triangle_intersection.h.

◆ begin() [2/2]

const_iterator GEO::TriangleIsects::begin ( ) const
inline

Definition at line 142 of file triangle_intersection.h.

◆ clear()

void GEO::TriangleIsects::clear ( )
inline

Definition at line 156 of file triangle_intersection.h.

◆ end() [1/2]

iterator GEO::TriangleIsects::end ( )
inline

Definition at line 138 of file triangle_intersection.h.

◆ end() [2/2]

const_iterator GEO::TriangleIsects::end ( ) const
inline

Definition at line 146 of file triangle_intersection.h.

◆ operator[]() [1/2]

TriangleIsect & GEO::TriangleIsects::operator[] ( index_t  i)
inline

Definition at line 169 of file triangle_intersection.h.

◆ operator[]() [2/2]

const TriangleIsect & GEO::TriangleIsects::operator[] ( index_t  i) const
inline

Definition at line 174 of file triangle_intersection.h.

◆ push_back()

void GEO::TriangleIsects::push_back ( const TriangleIsect I)
inline

Definition at line 150 of file triangle_intersection.h.

◆ resize()

void GEO::TriangleIsects::resize ( index_t  new_size)
inline

Definition at line 164 of file triangle_intersection.h.

◆ size()

index_t GEO::TriangleIsects::size ( ) const
inline

Definition at line 160 of file triangle_intersection.h.


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