MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstObjectComparableWithReference.ComparableProperty Class Reference
Inheritance diagram for mrmeshpy.ConstObjectComparableWithReference.ComparableProperty:

Public Member Functions

None __init__ (ObjectComparableWithReference.ComparableProperty self)
None __init__ (ObjectComparableWithReference.ComparableProperty self, ObjectComparableWithReference.ConstComparableProperty arg0)
None __init__ (ObjectComparableWithReference.ComparableProperty self, float value, Const_std_optional_float referenceValue)
ObjectComparableWithReference.ComparableProperty assign (ObjectComparableWithReference.ComparableProperty self, ObjectComparableWithReference.ConstComparableProperty other)
std_optional_float referenceValue (self)
None referenceValue (self, Const_std_optional_float arg1)
Public Member Functions inherited from mrmeshpy.ObjectComparableWithReference.ConstComparableProperty
 __init__ (self, *args, **kwargs)
float value (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ObjectComparableWithReference.ConstComparableProperty
typing _offsetof_referenceValue = 4
typing _offsetof_value = 0

Detailed Description

Generated from:  MR::ObjectComparableWithReference::ComparableProperty

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.ConstObjectComparableWithReference.ComparableProperty.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.ConstObjectComparableWithReference.ComparableProperty.__init__ ( ObjectComparableWithReference.ComparableProperty self)

◆ __init__() [3/4]

None mrmeshpy.ConstObjectComparableWithReference.ComparableProperty.__init__ ( ObjectComparableWithReference.ComparableProperty self,
ObjectComparableWithReference.ConstComparableProperty arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.ConstObjectComparableWithReference.ComparableProperty.__init__ ( ObjectComparableWithReference.ComparableProperty self,
float value,
Const_std_optional_float referenceValue )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

◆ referenceValue() [1/2]

std_optional_float mrmeshpy.ConstObjectComparableWithReference.ComparableProperty.referenceValue ( self)
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.

Reimplemented from mrmeshpy.ObjectComparableWithReference.ConstComparableProperty.

◆ referenceValue() [2/2]

None mrmeshpy.ConstObjectComparableWithReference.ComparableProperty.referenceValue ( self,
Const_std_optional_float arg1 )
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.

Reimplemented from mrmeshpy.ObjectComparableWithReference.ConstComparableProperty.


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