Klasse BoundingBoxCreationTO

java.lang.Object
org.opentcs.access.to.model.BoundingBoxCreationTO
Alle implementierten Schnittstellen:
Serializable

public class BoundingBoxCreationTO extends Object implements Serializable
A transfer object describing a bounding box.
Siehe auch:
  • Konstruktordetails

    • BoundingBoxCreationTO

      public BoundingBoxCreationTO(long length, long width, long height)
      Creates a new instance with a (0, 0) reference offset.
      Parameter:
      length - The bounding box's length.
      width - The bounding box's width.
      height - The bounding box's height.
  • Methodendetails

    • getLength

      public long getLength()
      Returns the bounding box's length.
      Gibt zurück:
      The bounding box's length.
    • withLength

      public BoundingBoxCreationTO withLength(long length)
      Creates a copy of this object, with the given length.
      Parameter:
      length - The value to be set in the copy.
      Gibt zurück:
      A copy of this object, differing in the given value.
    • getWidth

      public long getWidth()
      Returns the bounding box's width.
      Gibt zurück:
      The bounding box's width.
    • withWidth

      public BoundingBoxCreationTO withWidth(long width)
      Creates a copy of this object, with the given width.
      Parameter:
      width - The value to be set in the copy.
      Gibt zurück:
      A copy of this object, differing in the given value.
    • getHeight

      public long getHeight()
      Returns the bounding box's height.
      Gibt zurück:
      The bounding box's height.
    • withHeight

      public BoundingBoxCreationTO withHeight(long height)
      Creates a copy of this object, with the given height.
      Parameter:
      height - The value to be set in the copy.
      Gibt zurück:
      A copy of this object, differing in the given value.
    • getReferenceOffset

      public CoupleCreationTO getReferenceOffset()
      Returns the bounding box's reference offset.
      Gibt zurück:
      The bounding box's reference offset.
    • withReferenceOffset

      public BoundingBoxCreationTO withReferenceOffset(CoupleCreationTO referenceOffset)
      Creates a copy of this object, with the given reference offset.
      Parameter:
      referenceOffset - The value to be set in the copy.
      Gibt zurück:
      A copy of this object, differing in the given value.