#include <MRDipole.h>
Public Member Functions | |
| bool | addIfGoodApprox (const Vector3f &q, float betaSq, float &addTo) const |
Public Attributes | |
| Vector3f | pos |
| float | area = 0 |
| Vector3f | dirArea |
| float | rr = 0 |
Single oriented point or two oppositely charged points close together, representing a mesh part (one or more triangles) https://www.dgp.toronto.edu/projects/fast-winding-numbers/fast-winding-numbers-for-soups-and-clouds-siggraph-2018-barill-et-al.pdf
|
inlinenodiscard |
returns true if this dipole is good approximation for a point
| q; | and adds the contribution of this dipole to the winding number at point |
| q | to |
| addTo |
| float MR::Dipole::area = 0 |
| Vector3f MR::Dipole::dirArea |
| Vector3f MR::Dipole::pos |
| float MR::Dipole::rr = 0 |