Public Member Functions | |
| Dipole (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| Dipole () | |
| Dipole (meshlib.Vector3f pos, float area, meshlib.Vector3f dirArea, float rr) | |
| Dipole (meshlib.Dipole _other) | |
| meshlib.Dipole | assignFromAnother (meshlib.Dipole _other) |
| boolean | addIfGoodApprox (meshlib.Vector3f q, float betaSq, meshlib.float_output addTo) |
| meshlib.Vector3f | pos () |
| void | setPos (meshlib.Vector3f value) |
| float | area () |
| void | setArea (float value) |
| meshlib.Vector3f | dirArea () |
| void | setDirArea (meshlib.Vector3f value) |
| float | rr () |
| void | setRr (float value) |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
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.
Instances created here own their C++ objects, see CppObject.
| meshlib.Dipole.Dipole | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.Dipole.Dipole | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Dipole_DefaultConstruct().
| meshlib.Dipole.Dipole | ( | meshlib.Vector3f | pos, |
| float | area, | ||
| meshlib.Vector3f | dirArea, | ||
| float | rr ) |
Constructs MR::Dipole elementwise. The reference to the parameter pos might be preserved in the constructed object. The reference to the parameter dirArea might be preserved in the constructed object.
Calls MR_Dipole_ConstructFrom().
| meshlib.Dipole.Dipole | ( | meshlib.Dipole | _other | ) |
Generated from constructor MR::Dipole::Dipole. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Dipole_ConstructFromAnother().
| boolean meshlib.Dipole.addIfGoodApprox | ( | meshlib.Vector3f | q, |
| float | betaSq, | ||
| meshlib.float_output | addTo ) |
returns true if this dipole is good approximation for a point q; and adds the contribution of this dipole to the winding number at point q to addTo Generated from method MR::Dipole::addIfGoodApprox.
Calls MR_Dipole_addIfGoodApprox().
| float meshlib.Dipole.area | ( | ) |
Returns a pointer to a member variable of class MR::Dipole named area. The reference to this object might be preserved as the return value.
Calls MR_Dipole_Get_area().
| meshlib.Dipole meshlib.Dipole.assignFromAnother | ( | meshlib.Dipole | _other | ) |
Generated from method MR::Dipole::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Dipole_AssignFromAnother().
| meshlib.Vector3f meshlib.Dipole.dirArea | ( | ) |
Returns a pointer to a member variable of class MR::Dipole named dirArea. The reference to this object might be preserved as the return value.
Calls MR_Dipole_Get_dirArea().
| meshlib.Vector3f meshlib.Dipole.pos | ( | ) |
Returns a pointer to a member variable of class MR::Dipole named pos. The reference to this object might be preserved as the return value.
Calls MR_Dipole_Get_pos().
| float meshlib.Dipole.rr | ( | ) |
maximum squared distance from pos to any corner of the bounding box Returns a pointer to a member variable of class MR::Dipole named rr. The reference to this object might be preserved as the return value.
Calls MR_Dipole_Get_rr().
| void meshlib.Dipole.setArea | ( | float | value | ) |
Modifies a member variable of class MR::Dipole named area.
Calls MR_Dipole_Set_area().
| void meshlib.Dipole.setDirArea | ( | meshlib.Vector3f | value | ) |
Modifies a member variable of class MR::Dipole named dirArea. The reference to the parameter value might be preserved in this object in element dirArea.
Calls MR_Dipole_Set_dirArea().
| void meshlib.Dipole.setPos | ( | meshlib.Vector3f | value | ) |
Modifies a member variable of class MR::Dipole named pos. The reference to the parameter value might be preserved in this object in element pos.
Calls MR_Dipole_Set_pos().
| void meshlib.Dipole.setRr | ( | float | value | ) |
maximum squared distance from pos to any corner of the bounding box Modifies a member variable of class MR::Dipole named rr.
Calls MR_Dipole_Set_rr().