Public Member Functions | |
| __new__ (cls, value) | |
| __format__ (self, format_spec) | |
| __str__ (self) | |
Static Public Attributes | |
| typing | euclidean .ClassVar[DistanceMeasurementObject.DistanceMode] |
| typing | euclideanWithAbsoluteDeltasPerAxis .ClassVar[DistanceMeasurementObject.DistanceMode] |
| typing | euclideanWithSignedDeltasPerAxis .ClassVar[DistanceMeasurementObject.DistanceMode] |
| typing | xAbsolute .ClassVar[DistanceMeasurementObject.DistanceMode] |
| typing | yAbsolute .ClassVar[DistanceMeasurementObject.DistanceMode] |
| typing | zAbsolute .ClassVar[DistanceMeasurementObject.DistanceMode] |
Protected Member Functions | |
| _missing_ (cls, value) | |
| _value_repr_ (self) | |
Static Protected Member Functions | |
| _generate_next_value_ (name, start, count, last_values) | |
| _new_member_ (type, *args, **kwargs) | |
Static Protected Attributes | |
| typing | _member_map_ .ClassVar[dict] |
| list | _member_names_ = ['euclidean', 'euclideanWithSignedDeltasPerAxis', 'euclideanWithAbsoluteDeltasPerAxis', 'xAbsolute', 'yAbsolute', 'zAbsolute'] |
| typing | _unhashable_values_ = list() |
| typing | _use_args_ = True |
| typing | _value2member_map_ .ClassVar[dict] |
| _member_type_ = builtins.int | |
Members: euclidean : Euclidean distance. euclideanWithSignedDeltasPerAxis : Euclidean distance, but also display per-axis deltas with signs. euclideanWithAbsoluteDeltasPerAxis : Euclidean distance, but also display per-axis deltas without signs. xAbsolute : Absolute distance in one axis. This can still be made negative by `setIsNegative(true)`. The point is that the real sign is ignored. yAbsolute : Absolute distance in one axis. This can still be made negative by `setIsNegative(true)`. The point is that the real sign is ignored. zAbsolute : Absolute distance in one axis. This can still be made negative by `setIsNegative(true)`. The point is that the real sign is ignored.
| mrmeshpy.ConstDistanceMeasurementObject.DistanceMode.__format__ | ( | self, | |
| format_spec ) |
Convert to a string according to format_spec.
| mrmeshpy.ConstDistanceMeasurementObject.DistanceMode.__new__ | ( | cls, | |
| value ) |
| mrmeshpy.ConstDistanceMeasurementObject.DistanceMode.__str__ | ( | self | ) |
|
staticprotected |
Generate the next value when not given.
name: the name of the member
start: the initial start value or None
count: the number of existing members
last_values: the list of values assigned
|
protected |
|
staticprotected |
Create and return a new object. See help(type) for accurate signature.
|
protected |
Return repr(self).
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |