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

Public Member Functions

None __init__ (self)
 
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)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
Dipole operator (*args, **kwargs)
 
Dipole operator (*args, **kwargs)
 

Static Protected Attributes

typing _offsetof_area = 12
 
typing _offsetof_dirArea = 16
 
typing _offsetof_pos = 0
 
typing _offsetof_rr = 28
 

Detailed Description

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

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 mrmeshpy.Dipole.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.Dipole.__init__ ( self)

◆ __init__() [3/3]

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

Member Function Documentation

◆ addIfGoodApprox()

bool 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

◆ operator() [1/2]

Dipole mrmeshpy.Dipole.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

Dipole mrmeshpy.Dipole.operator ( * args,
** kwargs )
static

◆ rr() [1/2]

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

◆ rr() [2/2]

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

Member Data Documentation

◆ _offsetof_area

typing mrmeshpy.Dipole._offsetof_area = 12
staticprotected

◆ _offsetof_dirArea

typing mrmeshpy.Dipole._offsetof_dirArea = 16
staticprotected

◆ _offsetof_pos

typing mrmeshpy.Dipole._offsetof_pos = 0
staticprotected

◆ _offsetof_rr

typing mrmeshpy.Dipole._offsetof_rr = 28
staticprotected

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