MeshLib Documentation
Loading...
Searching...
No Matches
MR::Dipole Struct Reference

#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
 

Detailed Description

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

Member Function Documentation

◆ addIfGoodApprox()

bool MR::Dipole::addIfGoodApprox ( const Vector3f & q,
float betaSq,
float & addTo ) const
inlinenodiscard

returns true if this dipole is good approximation for a point

Parameters
q;and adds the contribution of this dipole to the winding number at point
qto
addTo

Member Data Documentation

◆ area

float MR::Dipole::area = 0

◆ dirArea

Vector3f MR::Dipole::dirArea

◆ pos

Vector3f MR::Dipole::pos

◆ rr

float MR::Dipole::rr = 0

The documentation for this struct was generated from the following file: