API reference - Class CompoundRegionOperationNode::ParameterType

Notation used in Ruby API documentation

Module: db

Description: This class represents the parameter type enum used in \CompoundRegionOperationNode#new_bbox_filter

This class is equivalent to the class CompoundRegionOperationNode::ParameterType

This enum has been introduced in version 0.27.

Public constructors

new CompoundRegionOperationNode::ParameterType ptrnew(int i)Creates an enum from an integer value
new CompoundRegionOperationNode::ParameterType ptrnew(string s)Creates an enum from a string value

Public methods

[const]bool!=(const CompoundRegionOperationNode::ParameterType other)Compares two enums for inequality
[const]bool<(const CompoundRegionOperationNode::ParameterType other)Returns true if the first enum is less (in the enum symbol order) than the second
[const]bool==(const CompoundRegionOperationNode::ParameterType other)Compares two enums
[const]stringinspectConverts an enum to a visual string
[const]intto_iGets the integer value from the enum
[const]stringto_sGets the symbolic string from an enum

Public static methods and constants

[static,const]CompoundRegionOperationNode::ParameterTypeBoxAverageDimMeasures the average of width and height of the bounding box
[static,const]CompoundRegionOperationNode::ParameterTypeBoxHeightMeasures the height of the bounding box
[static,const]CompoundRegionOperationNode::ParameterTypeBoxMaxDimMeasures the maximum dimension of the bounding box
[static,const]CompoundRegionOperationNode::ParameterTypeBoxMinDimMeasures the minimum dimension of the bounding box
[static,const]CompoundRegionOperationNode::ParameterTypeBoxWidthMeasures the width of the bounding box

Detailed description

!=

Signature: [const] bool != (const CompoundRegionOperationNode::ParameterType other)

Description: Compares two enums for inequality

<

Signature: [const] bool < (const CompoundRegionOperationNode::ParameterType other)

Description: Returns true if the first enum is less (in the enum symbol order) than the second

==

Signature: [const] bool == (const CompoundRegionOperationNode::ParameterType other)

Description: Compares two enums

BoxAverageDim

Signature: [static,const] CompoundRegionOperationNode::ParameterType BoxAverageDim

Description: Measures the average of width and height of the bounding box

BoxHeight

Signature: [static,const] CompoundRegionOperationNode::ParameterType BoxHeight

Description: Measures the height of the bounding box

BoxMaxDim

Signature: [static,const] CompoundRegionOperationNode::ParameterType BoxMaxDim

Description: Measures the maximum dimension of the bounding box

BoxMinDim

Signature: [static,const] CompoundRegionOperationNode::ParameterType BoxMinDim

Description: Measures the minimum dimension of the bounding box

BoxWidth

Signature: [static,const] CompoundRegionOperationNode::ParameterType BoxWidth

Description: Measures the width of the bounding box

inspect

Signature: [const] string inspect

Description: Converts an enum to a visual string

Python specific notes:
This method is also available as 'repr(object)'

new

(1) Signature: [static] new CompoundRegionOperationNode::ParameterType ptr new (int i)

Description: Creates an enum from an integer value

Python specific notes:
This method is the default initializer of the object

(2) Signature: [static] new CompoundRegionOperationNode::ParameterType ptr new (string s)

Description: Creates an enum from a string value

Python specific notes:
This method is the default initializer of the object

to_i

Signature: [const] int to_i

Description: Gets the integer value from the enum

to_s

Signature: [const] string to_s

Description: Gets the symbolic string from an enum

Python specific notes:
This method is also available as 'str(object)'