Class Size2D

java.lang.Object
com.here.sdk.core.Size2D

public final class Size2D extends Object

Represents the size of a 2D structure.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
    The height represents the size along the Y axis.
    double
    The width represents the size along the X axis.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new instance.
    Size2D(double width, double height)
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • width

      public double width

      The width represents the size along the X axis. Default is 0.0.

    • height

      public double height

      The height represents the size along the Y axis. Default is 0.0.

  • Constructor Details

    • Size2D

      public Size2D()

      Creates a new instance.

    • Size2D

      public Size2D(double width, double height)

      Creates a new instance.

      Parameters:
      width -

      The width represents the size along the X axis. Default is 0.0.

      height -

      The height represents the size along the Y axis. Default is 0.0.

  • Method Details