|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
Consists of a set of methods to compute areas/volumes and centroids for Polygon and CurvedPolygon objects composed of nonrational BezierCurve objects. More...
#include "axom/config.hpp"#include "axom/core.hpp"#include "axom/primal/geometry/Point.hpp"#include "axom/primal/geometry/BezierCurve.hpp"#include "axom/primal/geometry/CurvedPolygon.hpp"#include "axom/primal/operators/detail/compute_moments_impl.hpp"#include <vector>#include <map>Namespaces | |
| axom | |
| axom::primal | |
Functions | |
| template<typename T > | |
| T | axom::primal::sector_area (const primal::BezierCurve< T, 2 > &curve) |
| Calculates the signed sector area of a planar, nonrational Bezier curve. More... | |
| template<typename T > | |
| primal::Point< T, 2 > | axom::primal::sector_centroid (const primal::BezierCurve< T, 2 > &curve) |
| Calculates the area-weighted centroid numerator of a planar, nonrational Bezier curve. More... | |
| template<typename T > | |
| T | axom::primal::area (const primal::CurvedPolygon< BezierCurve< T, 2 >> &poly, double tol=1e-8) |
| Returns the area enclosed by the CurvedPolygon. More... | |
| template<typename T > | |
| primal::Point< T, 2 > | axom::primal::centroid (const primal::CurvedPolygon< BezierCurve< T, 2 >> &poly, double tol=1e-8) |
| Returns the centroid of the CurvedPolygon. More... | |
Consists of a set of methods to compute areas/volumes and centroids for Polygon and CurvedPolygon objects composed of nonrational BezierCurve objects.