MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstObjectComparableWithReference.ConstComparableProperty Class Reference

Public Member Functions

 __init__ (self, *args, **kwargs)
Const_std_optional_float referenceValue (self)
float value (self)

Static Protected Attributes

typing _offsetof_referenceValue = 4
typing _offsetof_value = 0

Detailed Description

Generated from:  MR::ObjectComparableWithReference::ComparableProperty

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstObjectComparableWithReference.ConstComparableProperty.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ObjectComparableWithReference.ConstComparableProperty) -> None

2. __init__(self: meshlib.mrmeshpy.ObjectComparableWithReference.ConstComparableProperty, arg0: meshlib.mrmeshpy.ObjectComparableWithReference.ConstComparableProperty) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ObjectComparableWithReference.ConstComparableProperty, value: float, referenceValue: meshlib.mrmeshpy.Const_std_optional_float) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ObjectComparableWithReference.ConstComparableProperty, : meshlib.mrmeshpy.ObjectComparableWithReference.ConstComparableProperty) -> None

Member Function Documentation

◆ referenceValue()

Const_std_optional_float mrmeshpy.ConstObjectComparableWithReference.ConstComparableProperty.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.

◆ value()

float mrmeshpy.ConstObjectComparableWithReference.ConstComparableProperty.value ( self)

Member Data Documentation

◆ _offsetof_referenceValue

typing mrmeshpy.ConstObjectComparableWithReference.ConstComparableProperty._offsetof_referenceValue = 4
staticprotected

◆ _offsetof_value

typing mrmeshpy.ConstObjectComparableWithReference.ConstComparableProperty._offsetof_value = 0
staticprotected

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