class ZoneShape

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescriptionUsage
shape_typeintShape typeYou can manipulate the field shape_type as if it were a regular field. To clear the value of shape_type and reset it to the default value for its type, you call the ClearField() method of the Message interface.
originPointOrigin of the protection zone shape from reference (in meters)To set origin, you simply assign a value directly to a field within origin. You can also use the parent message's HasField() method to check if a message type field value has been set.
orientationRotationMatrixRotation matrix to provide shape orientationTo set orientation, you simply assign a value directly to a field within orientation. You can also use the parent message's HasField() method to check if a message type field value has been set.
dimensionsfloatShape size measurement (in meters). If rectangular prism: x, y and z dimensions. If cylinder: radius and height. If sphere: radiusYou can manipulate the field dimensions as if it were a regular field. To clear the value of dimensions and reset it to the default value for its type, you call the ClearField() method of the Message interface.
envelope_thicknessfloatThickness of envelop around shape (in meters). The envelop is of same shape type as the shape at its center.You can manipulate the field envelope_thickness as if it were a regular field. To clear the value of envelope_thickness and reset it to the default value for its type, you call the ClearField() method of the Message interface.

Parent topic: Base (Python)