Wrapped segment of a triangular, cartesian 2D domain. More...
#include <triangular.hpp>
Public Member Functions | |
TriangularCartesian2D_Segment (TriangularCartesian2D_Segment_t &initial_segment, TriangularCartesian2D_Segmentation &initial_segmentation) | |
unsigned int | num_cells () |
Return the number of cells contained in the segment. | |
TriangularCartesian2D_Cell | make_cell (TriangularCartesian2D_Vertex vertex1, TriangularCartesian2D_Vertex vertex2, TriangularCartesian2D_Vertex vertex3) |
Create a new cell in the segment. | |
list | get_cells () |
Return a Python list containing all the cells contained in the segment. | |
TriangularCartesian2D_Segment_t & | get_segment () |
Get a reference to the ViennaGrind segment object. |
Wrapped segment of a triangular, cartesian 2D domain.
list TriangularCartesian2D_Segment::get_cells | ( | ) |
Return a Python list containing all the cells contained in the segment.
TriangularCartesian2D_Segment_t & TriangularCartesian2D_Segment::get_segment | ( | ) |
Get a reference to the ViennaGrind segment object.
TriangularCartesian2D_Cell TriangularCartesian2D_Segment::make_cell | ( | TriangularCartesian2D_Vertex | vertex1, |
TriangularCartesian2D_Vertex | vertex2, | ||
TriangularCartesian2D_Vertex | vertex3 | ||
) |
Create a new cell in the segment.
vertex1 | |
vertex2 | |
vertex3 |
unsigned int TriangularCartesian2D_Segment::num_cells | ( | ) |
Return the number of cells contained in the segment.