MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_Dipole Class 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 Generated from class MR.Dipole. This is the const half of the class. More...

+ Inheritance diagram for MR.Const_Dipole:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_Dipole ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_Dipole (MR.Vector3f pos, float area, MR.Vector3f dirArea, float rr)
 Constructs MR.Dipole elementwise.
 
unsafe Const_Dipole (MR.Const_Dipole _other)
 Generated from constructor MR.Dipole.Dipole.
 
unsafe bool addIfGoodApprox (in MR.Vector3f q, float betaSq, ref float addTo)
 returns true if this dipole is good approximation for a point
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

unsafe ref readonly MR.Vector3f pos [get]
 
unsafe float area [get]
 
unsafe ref readonly MR.Vector3f dirArea [get]
 
unsafe float rr [get]
 
- Properties inherited from MR.Misc.Object< Const_Dipole >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_Dipole >
bool _IsOwningVal
 

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 Generated from class MR.Dipole. This is the const half of the class.

Member Function Documentation

◆ addIfGoodApprox()

unsafe bool MR.Const_Dipole.addIfGoodApprox ( in MR.Vector3f q,
float betaSq,
ref float addTo )
inline

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
addToGenerated from method MR.Dipole.addIfGoodApprox.

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