Class TrackerStrip

All Implemented Interfaces:
Component, Transformable, Showable

public class TrackerStrip extends RectangularComponent
A tracker strip.

This class is an alias of RectangularComponent.

Author:
devita
  • Constructor Details Link icon

    • TrackerStrip Link icon

      public TrackerStrip(int componentId, Point3D origin, Point3D end, double width, double thickness)
      Constructs a new TrackerStrip from the given points.

      The line will be from the middle of the bottom face to the middle of the top face. The midpoint will be at the midpoint of the line. The direction vector will parallel the line.

      Parameters:
      componentId - the id of the component
      origin -
      end -
      width -
      thickness -
  • Method Details Link icon

    • getType Link icon

      public String getType()
      Returns "Tracker Strip".
      Specified by:
      getType in interface Component
      Overrides:
      getType in class RectangularComponent
      Returns:
      "Tracker Strip"
    • getWidth Link icon

      public double getWidth()
      Returns width of the strip
      Returns:
      width
    • getThickness Link icon

      public double getThickness()
      Returns thickness of the strip
      Returns:
      thickness