MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.InSphere Class Reference
Inheritance diagram for meshlib.InSphere:

Public Member Functions

 InSphere (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 InSphere ()
 InSphere (meshlib.Vector3f center, float radius, meshlib.MeshProjectionResult oppositeTouchPoint)
 InSphere (meshlib.InSphere _other)
meshlib.InSphere assignFromAnother (meshlib.InSphere _other)
meshlib.Vector3f center ()
void setCenter (meshlib.Vector3f value)
float radius ()
void setRadius (float value)
meshlib.MeshProjectionResult oppositeTouchPoint ()
void setOppositeTouchPoint (meshlib.MeshProjectionResult 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)

Detailed Description

found maximal inscribed sphere touching input point with center along given direction Generated from class MR::InSphere.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ InSphere() [1/4]

meshlib.InSphere.InSphere ( 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.

◆ InSphere() [2/4]

meshlib.InSphere.InSphere ( )

Constructs an empty (default-constructed) instance.

Calls MR_InSphere_DefaultConstruct().

◆ InSphere() [3/4]

meshlib.InSphere.InSphere ( meshlib.Vector3f center,
float radius,
meshlib.MeshProjectionResult oppositeTouchPoint )

Constructs MR::InSphere elementwise. The reference to the parameter center might be preserved in the constructed object. The reference to the parameter oppositeTouchPoint might be preserved in the constructed object.

Calls MR_InSphere_ConstructFrom().

◆ InSphere() [4/4]

meshlib.InSphere.InSphere ( meshlib.InSphere _other)

Generated from constructor MR::InSphere::InSphere. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_InSphere_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.InSphere meshlib.InSphere.assignFromAnother ( meshlib.InSphere _other)

Generated from method MR::InSphere::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_InSphere_AssignFromAnother().

◆ center()

meshlib.Vector3f meshlib.InSphere.center ( )

Returns a pointer to a member variable of class MR::InSphere named center. The reference to this object might be preserved as the return value.

Calls MR_InSphere_Get_center().

◆ oppositeTouchPoint()

meshlib.MeshProjectionResult meshlib.InSphere.oppositeTouchPoint ( )

< excluding input point and incident triangles, distSq - squared distance to sphere's center Returns a pointer to a member variable of class MR::InSphere named oppositeTouchPoint. The reference to this object might be preserved as the return value.

Calls MR_InSphere_Get_oppositeTouchPoint().

◆ radius()

float meshlib.InSphere.radius ( )

Returns a pointer to a member variable of class MR::InSphere named radius. The reference to this object might be preserved as the return value.

Calls MR_InSphere_Get_radius().

◆ setCenter()

void meshlib.InSphere.setCenter ( meshlib.Vector3f value)

Modifies a member variable of class MR::InSphere named center. The reference to the parameter value might be preserved in this object in element center.

Calls MR_InSphere_Set_center().

◆ setOppositeTouchPoint()

void meshlib.InSphere.setOppositeTouchPoint ( meshlib.MeshProjectionResult value)

< excluding input point and incident triangles, distSq - squared distance to sphere's center Modifies a member variable of class MR::InSphere named oppositeTouchPoint. The reference to the parameter value might be preserved in this object in element oppositeTouchPoint.

Calls MR_InSphere_Set_oppositeTouchPoint().

◆ setRadius()

void meshlib.InSphere.setRadius ( float value)

Modifies a member variable of class MR::InSphere named radius.

Calls MR_InSphere_Set_radius().


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