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