MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.Dipole Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, Dipole arg0)
 
None __init__ (self, Vector3f pos, float area, Vector3f dirArea, float rr)
 
bool addIfGoodApprox (self, Vector3f q, float betaSq, float_output addTo)
 
float rr (self)
 
None rr (self, float arg1)
 

Detailed Description

Generated from:  MR::Dipole
Aliases:  std_vector_Dipole_const_reference, Vector_Dipole_NodeId_const_reference, Vector_Dipole_NodeId_reference, std_vector_Dipole_reference, Vector_Dipole_NodeId_value_type, std_vector_Dipole_value_type

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

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.Dipole.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

None meshlib.mrmeshpy.Dipole.__init__ ( self,
Dipole arg0 )
Implicit copy constructor.

◆ __init__() [3/3]

None meshlib.mrmeshpy.Dipole.__init__ ( self,
Vector3f pos,
float area,
Vector3f dirArea,
float rr )
Implicit aggregate constructor.

Member Function Documentation

◆ addIfGoodApprox()

bool meshlib.mrmeshpy.Dipole.addIfGoodApprox ( self,
Vector3f q,
float betaSq,
float_output addTo )
returns true if this dipole is good approximation for a point \\param q;
and adds the contribution of this dipole to the winding number at point \\param q to \\param addTo

◆ rr() [1/2]

float meshlib.mrmeshpy.Dipole.rr ( self)
maximum squared distance from pos to any corner of the bounding box

◆ rr() [2/2]

None meshlib.mrmeshpy.Dipole.rr ( self,
float arg1 )

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