struct StumpyCore::Point
- StumpyCore::Point
- Struct
- Value
- Object
Defined in:
stumpy_utils/point.crConstructors
Class Method Summary
Instance Method Summary
- #*(scalar : Float64)
- #*(other : Point)
- #+(other : Point)
- #+(other : Float64)
- #-(other)
- #/(scalar)
- #distance(other : Point)
- #mag
- #normalize
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #x : Float64
- #y : Float64
Constructor Detail
Class Method Detail
Instance Method Detail
def to_s
#
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO)
which can be overridden for custom implementations.
Also see #inspect
.