Class: Xberg::OrientationResult

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeOrientationResult

Returns a new instance of OrientationResult.

Parameters:

  • degrees: (Integer)
  • confidence: (Float)


2029
# File 'sig/types.rbs', line 2029

def initialize: (degrees: Integer, confidence: Float) -> void

Instance Attribute Details

#confidenceFloat (readonly)

Returns the value of attribute confidence.

Returns:

  • (Float)


2027
2028
2029
# File 'sig/types.rbs', line 2027

def confidence
  @confidence
end

#degreesInteger (readonly)

Returns the value of attribute degrees.

Returns:

  • (Integer)


2026
2027
2028
# File 'sig/types.rbs', line 2026

def degrees
  @degrees
end