MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ObjectComparableWithReference.ComparableProperty Class Reference

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
 

Detailed Description

Generated from:  MR::ObjectComparableWithReference::ComparableProperty

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.ObjectComparableWithReference.ComparableProperty.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

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

Member Function Documentation

◆ operator() [1/2]

ObjectComparableWithReference.ComparableProperty mrmeshpy.ObjectComparableWithReference.ComparableProperty.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

ObjectComparableWithReference.ComparableProperty mrmeshpy.ObjectComparableWithReference.ComparableProperty.operator ( * args,
** kwargs )
static

◆ referenceValue() [1/2]

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.

◆ referenceValue() [2/2]

None mrmeshpy.ObjectComparableWithReference.ComparableProperty.referenceValue ( self,
std_optional_float arg1 )

Member Data Documentation

◆ _offsetof_referenceValue

typing mrmeshpy.ObjectComparableWithReference.ComparableProperty._offsetof_referenceValue = 4
staticprotected

◆ _offsetof_value

typing mrmeshpy.ObjectComparableWithReference.ComparableProperty._offsetof_value = 0
staticprotected

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