AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
construct.hpp File Reference
#include "axom/config.hpp"
#include "axom/slic.hpp"
#include "axom/core/numerics/Matrix.hpp"
#include "axom/core/numerics/matvecops.hpp"
#include "axom/primal/geometry/Polygon.hpp"
#include "axom/primal/geometry/Polyhedron.hpp"
#include <cmath>

Namespaces

 axom
 
 axom::primal
 

Functions

template<typename T , int NDIMS, PolygonArray ARRAY_TYPE = PolygonArray::Dynamic, int MAX_VERTS = DEFAULT_MAX_NUM_VERTICES>
Polygon< T, NDIMS, ARRAY_TYPE, MAX_VERTS > axom::primal::regular_polygon (int nSides, T radius=T {1}, const axom::numerics::Matrix< T > &transform=axom::numerics::Matrix< T >::identity(NDIMS))
 Create a regular polygon. More...
 
template<typename T >
Polyhedron< T, 3 > axom::primal::regular_prism (int numSides, T radius=1, T height=1, const axom::numerics::Matrix< T > &transform=axom::numerics::Matrix< T >::identity(4))
 Construct a regular 3D prism. More...