クラス BoundingBox

java.lang.ObjectSE
org.springframework.data.redis.domain.geo.BoundingBox
実装されたすべてのインターフェース:
SerializableSEShape

public class BoundingBox extends ObjectSE implements Shape
幅と高さで定義される地理空間境界ボックスを表します。
導入:
2.6
作成者:
Mark Paluch
関連事項:
  • コンストラクターの詳細

    • BoundingBox

      public BoundingBox(Distance width, Distance height)
      指定された幅と高さから新しい BoundingBox を作成します。両方の距離で同じ Metric を使用する必要があります。
      パラメーター:
      width - null であってはなりません。
      height - null であってはなりません。
    • BoundingBox

      public BoundingBox(double width, double height, Metric metric)
      指定された幅、高さ、Metric から新しい BoundingBox を作成します。
      パラメーター:
      width -
      height -
      metric - null であってはなりません。
  • メソッドの詳細

    • getWidth

      public Distance getWidth()
      この境界ボックスの幅を返します。
      戻り値:
      null になることはありません。
    • getHeight

      public Distance getHeight()
      この境界ボックスの高さを返します。
      戻り値:
      null になることはありません。
    • hashCode

      public int hashCode()
      オーバーライド:
      クラス ObjectSEhashCode 
    • equals

      public boolean equals(@Nullable ObjectSE o)
      オーバーライド:
      クラス ObjectSEequalsSE 
    • toString

      public StringSE toString()
      オーバーライド:
      クラス ObjectSEtoString