#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/develop/src/axom/quest/FastApproximateGWN.hpp>
|
| | GWNMomentData ()=default |
| |
| | GWNMomentData (const axom::primal::Triangle< T, 3 > &a_tri) |
| | Construct moments from a 3D triangle. More...
|
| |
| | GWNMomentData (const axom::primal::NURBSPatch< T, 3 > &a_patch) |
| | Construct moments from a trimmed NURBS surface. More...
|
| |
| | GWNMomentData (const axom::primal::NURBSCurve< T, 2 > &c) |
| | Construct moments from the endpoints of a 2D segment. More...
|
| |
| | GWNMomentData (const axom::primal::Segment< T, 2 > &s) |
| | Construct moments from a 2D Segment. More...
|
| |
| | GWNMomentData (const axom::primal::Point< T, 2 > &p0, const axom::primal::Point< T, 2 > &p1) |
| | Construct moments from the endpoints of a 2D segment. More...
|
| |
| double | approx_winding_number (axom::primal::Point< T, NDIMS > query) const |
| |
| axom::primal::Point< T, NDIMS > | getCenter () const |
| | Return the center of the Taylor expansion. More...
|
| |
| axom::primal::Vector< T, 3 > | getNormal () const |
| | Return the normal if computed from 3D data. More...
|
| |
| double | getSurfaceArea () const |
| | Return the surface area if computed from 3D data. More...
|
| |
◆ GWNMomentData() [1/6]
template<typename T , int NDIMS, int ORD>
◆ GWNMomentData() [2/6]
template<typename T , int NDIMS, int ORD>
Construct moments from a 3D triangle.
References axom::quest::GWNMomentData< T, NDIMS, ORD >::a, axom::quest::GWNMomentData< T, NDIMS, ORD >::ap, axom::primal::Triangle< T, NDIMS >::area(), axom::primal::Triangle< T, NDIMS >::centroid(), axom::primal::centroid(), axom::primal::Triangle< T, NDIMS >::normal(), and axom::quest::GWNMomentData< T, NDIMS, ORD >::rm.
◆ GWNMomentData() [3/6]
template<typename T , int NDIMS, int ORD>
◆ GWNMomentData() [4/6]
template<typename T , int NDIMS, int ORD>
Construct moments from the endpoints of a 2D segment.
◆ GWNMomentData() [5/6]
template<typename T , int NDIMS, int ORD>
Construct moments from a 2D Segment.
◆ GWNMomentData() [6/6]
template<typename T , int NDIMS, int ORD>
◆ approx_winding_number()
template<typename T , int NDIMS, int ORD>
Computes the approximated GWN field at the given query. Formulae are taken from "Fast Winding Numbers for Soups and Clouds" by Barill et al. (2018)
References axom::quest::GWNMomentData< T, NDIMS, ORD >::a, axom::abs(), axom::primal::Vector< T, NDIMS >::dot(), axom::quest::GWNMomentData< T, NDIMS, ORD >::ec, axom::quest::GWNMomentData< T, NDIMS, ORD >::getCenter(), axom::utilities::isNearlyEqual(), and axom::primal::Vector< T, NDIMS >::norm().
◆ getCenter()
template<typename T , int NDIMS, int ORD>
◆ getNormal()
template<typename T , int NDIMS, int ORD>
◆ getSurfaceArea()
template<typename T , int NDIMS, int ORD>
◆ operator+
template<typename T , int NDIMS, int ORD>
Addition overload to find the sum of two sets of raw moments. TODO: Technically, the raw moments for b1 and b2 can be deallocated after this function is called, which would decrease the memory footprint
◆ ap
template<typename T , int NDIMS, int ORD>
template<typename T , int NDIMS, int ORD>
◆ rm
template<typename T , int NDIMS, int ORD>
◆ ec
template<typename T , int NDIMS, int ORD>
The documentation for this class was generated from the following file: