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

Public Member Functions

 ObjectComparableWithReference_ComparableProperty (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ObjectComparableWithReference_ComparableProperty ()
 ObjectComparableWithReference_ComparableProperty (float value, java.lang.Float referenceValue)
 ObjectComparableWithReference_ComparableProperty (meshlib.ObjectComparableWithReference_ComparableProperty _other)
meshlib.ObjectComparableWithReference_ComparableProperty assignFromAnother (meshlib.ObjectComparableWithReference_ComparableProperty _other)
float value ()
void setValue (float value)
meshlib.std_optional_float referenceValue ()
void setReferenceValue (java.lang.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)

Detailed Description

Generated from class MR::ObjectComparableWithReference::ComparableProperty.

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

Constructor & Destructor Documentation

◆ ObjectComparableWithReference_ComparableProperty() [1/4]

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

◆ ObjectComparableWithReference_ComparableProperty() [2/4]

meshlib.ObjectComparableWithReference_ComparableProperty.ObjectComparableWithReference_ComparableProperty ( )

Constructs an empty (default-constructed) instance.

Calls MR_ObjectComparableWithReference_ComparableProperty_DefaultConstruct().

◆ ObjectComparableWithReference_ComparableProperty() [3/4]

meshlib.ObjectComparableWithReference_ComparableProperty.ObjectComparableWithReference_ComparableProperty ( float value,
java.lang.Float referenceValue )

Constructs MR::ObjectComparableWithReference::ComparableProperty elementwise. The reference to the parameter referenceValue might be preserved in the constructed object.

Calls MR_ObjectComparableWithReference_ComparableProperty_ConstructFrom().

◆ ObjectComparableWithReference_ComparableProperty() [4/4]

meshlib.ObjectComparableWithReference_ComparableProperty.ObjectComparableWithReference_ComparableProperty ( meshlib.ObjectComparableWithReference_ComparableProperty _other)

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

Calls MR_ObjectComparableWithReference_ComparableProperty_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.ObjectComparableWithReference_ComparableProperty meshlib.ObjectComparableWithReference_ComparableProperty.assignFromAnother ( meshlib.ObjectComparableWithReference_ComparableProperty _other)

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

Calls MR_ObjectComparableWithReference_ComparableProperty_AssignFromAnother().

◆ referenceValue()

meshlib.std_optional_float meshlib.ObjectComparableWithReference_ComparableProperty.referenceValue ( )

This can be null if the reference value isn't set, or something else is wrong. This can match whatever is set via get/setComparisonReferenceValue(), but not necessarily. E.g. for point coordinates, those functions act on the reference coordinates (three optional floats), but this number is always zero, and the value is the distance to those coordinates. Returns a pointer to a member variable of class MR::ObjectComparableWithReference::ComparableProperty named referenceValue. The reference to this object might be preserved as the return value.

Calls MR_ObjectComparableWithReference_ComparableProperty_Get_referenceValue().

◆ setReferenceValue()

void meshlib.ObjectComparableWithReference_ComparableProperty.setReferenceValue ( java.lang.Float value)

This can be null if the reference value isn't set, or something else is wrong. This can match whatever is set via get/setComparisonReferenceValue(), but not necessarily. E.g. for point coordinates, those functions act on the reference coordinates (three optional floats), but this number is always zero, and the value is the distance to those coordinates. Modifies a member variable of class MR::ObjectComparableWithReference::ComparableProperty named referenceValue. The reference to the parameter value might be preserved in this object in element referenceValue.

Calls MR_ObjectComparableWithReference_ComparableProperty_Set_referenceValue().

◆ setValue()

void meshlib.ObjectComparableWithReference_ComparableProperty.setValue ( float value)

Modifies a member variable of class MR::ObjectComparableWithReference::ComparableProperty named value.

Calls MR_ObjectComparableWithReference_ComparableProperty_Set_value().

◆ value()

float meshlib.ObjectComparableWithReference_ComparableProperty.value ( )

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

Calls MR_ObjectComparableWithReference_ComparableProperty_Get_value().


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