Public Member Functions | |
| None | __init__ (self) |
| None | __init__ (self, ObjectComparableWithReference.ComparableProperty arg0) |
| None | __init__ (self, float value, std_optional_float referenceValue) |
| std_optional_float | referenceValue (self) |
| None | referenceValue (self, std_optional_float arg1) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| ObjectComparableWithReference.ComparableProperty | operator (*args, **kwargs) |
| ObjectComparableWithReference.ComparableProperty | operator (*args, **kwargs) |
Static Protected Attributes | |
| typing | _offsetof_referenceValue = 4 |
| typing | _offsetof_value = 0 |
Generated from: MR::ObjectComparableWithReference::ComparableProperty
|
static |
| None mrmeshpy.ObjectComparableWithReference.ComparableProperty.__init__ | ( | self | ) |
| None mrmeshpy.ObjectComparableWithReference.ComparableProperty.__init__ | ( | self, | |
| ObjectComparableWithReference.ComparableProperty | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.ObjectComparableWithReference.ComparableProperty.__init__ | ( | self, | |
| float | value, | ||
| std_optional_float | referenceValue ) |
Implicit aggregate constructor.
|
static |
|
static |
| std_optional_float mrmeshpy.ObjectComparableWithReference.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.
| None mrmeshpy.ObjectComparableWithReference.ComparableProperty.referenceValue | ( | self, | |
| std_optional_float | arg1 ) |
|
staticprotected |
|
staticprotected |