MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ConstDipole:

Public Member Functions

 __init__ (self, *args, **kwargs)
bool addIfGoodApprox (self, ConstVector3f q, float betaSq, float_output addTo)
float area (self)
ConstVector3f dirArea (self)
ConstVector3f pos (self)
float rr (self)

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:  Vector_Dipole_NodeId_const_pointer, Vector_Dipole_NodeId_const_reference, Vector_Dipole_NodeId_pointer, Vector_Dipole_NodeId_reference, Vector_Dipole_NodeId_value_type, std_vector_Dipole_Allocator_Dipole_const_pointer, std_vector_Dipole_Allocator_Dipole_const_reference, std_vector_Dipole_Allocator_Dipole_pointer, std_vector_Dipole_Allocator_Dipole_reference, std_vector_Dipole_Allocator_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__()

mrmeshpy.ConstDipole.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstDipole) -> None

2. __init__(self: meshlib.mrmeshpy.ConstDipole, arg0: meshlib.mrmeshpy.ConstDipole) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstDipole, pos: meshlib.mrmeshpy.ConstVector3f, area: float, dirArea: meshlib.mrmeshpy.ConstVector3f, rr: float) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstDipole, : meshlib.mrmeshpy.ConstDipole) -> None

Member Function Documentation

◆ addIfGoodApprox()

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

◆ area()

float mrmeshpy.ConstDipole.area ( self)

◆ dirArea()

ConstVector3f mrmeshpy.ConstDipole.dirArea ( self)

Reimplemented in mrmeshpy.Dipole, and mrmeshpy.Dipole.

◆ pos()

ConstVector3f mrmeshpy.ConstDipole.pos ( self)

Reimplemented in mrmeshpy.Dipole, and mrmeshpy.Dipole.

◆ rr()

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

Reimplemented in mrmeshpy.Dipole, and mrmeshpy.Dipole.

Member Data Documentation

◆ _offsetof_area

typing mrmeshpy.ConstDipole._offsetof_area = 12
staticprotected

◆ _offsetof_dirArea

typing mrmeshpy.ConstDipole._offsetof_dirArea = 16
staticprotected

◆ _offsetof_pos

typing mrmeshpy.ConstDipole._offsetof_pos = 0
staticprotected

◆ _offsetof_rr

typing mrmeshpy.ConstDipole._offsetof_rr = 28
staticprotected

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