Domain of lines in the spherical space. More...
#include <quadrilateral.hpp>
Public Member Functions | |
unsigned int | num_vertices () |
Return the number of vertices contained in the domain. | |
void | make_vertex (PointSpherical3D point) |
Create a new vertex in the domain based on the given point. | |
QuadrilateralSpherical3D_Vertex | get_vertex (unsigned int index) |
Return the vertex identified by the given index. | |
list | get_vertices () |
Return a Python list containing all the vertices of the domain. | |
unsigned int | num_cells () |
Return the number of cells contained in the segment. | |
QuadrilateralSpherical3D_Cell | make_cell (QuadrilateralSpherical3D_Vertex vertex1, QuadrilateralSpherical3D_Vertex vertex2, QuadrilateralSpherical3D_Vertex vertex3, QuadrilateralSpherical3D_Vertex vertex4) |
Create a new cell in the segment. | |
list | get_cells () |
Return a Python list containing all the cells contained in the segment. | |
QuadrilateralSpherical3D_Domain_t & | get_domain () |
Get a reference to the ViennaGrid domain object. |
Domain of lines in the spherical space.
list QuadrilateralSpherical3D_Domain::get_cells | ( | ) |
Return a Python list containing all the cells contained in the segment.
QuadrilateralSpherical3D_Domain_t & QuadrilateralSpherical3D_Domain::get_domain | ( | ) |
Get a reference to the ViennaGrid domain object.
QuadrilateralSpherical3D_Vertex QuadrilateralSpherical3D_Domain::get_vertex | ( | unsigned int | index | ) |
Return the vertex identified by the given index.
index | Numerical vertex ID as assigned by ViennaGrid on vertex creation. |
list QuadrilateralSpherical3D_Domain::get_vertices | ( | ) |
Return a Python list containing all the vertices of the domain.
QuadrilateralSpherical3D_Cell QuadrilateralSpherical3D_Domain::make_cell | ( | QuadrilateralSpherical3D_Vertex | vertex1, |
QuadrilateralSpherical3D_Vertex | vertex2, | ||
QuadrilateralSpherical3D_Vertex | vertex3, | ||
QuadrilateralSpherical3D_Vertex | vertex4 | ||
) |
Create a new cell in the segment.
vertex1 | |
vertex2 | |
vertex3 | |
vertex4 |
void QuadrilateralSpherical3D_Domain::make_vertex | ( | PointSpherical3D | point | ) |
Create a new vertex in the domain based on the given point.
point | Point that represents the vertex. The point object will be copied. |
unsigned int QuadrilateralSpherical3D_Domain::num_cells | ( | ) |
Return the number of cells contained in the segment.
unsigned int QuadrilateralSpherical3D_Domain::num_vertices | ( | ) |
Return the number of vertices contained in the domain.