Class PolarLineDrawing

Direct Known Subclasses:
CrossHair, Radials, RingSet, SpeedLabels

public abstract class PolarLineDrawing extends LineDrawing
Provides support for lines drawing in a polar coordinate system.
Version:
$Revision: 1.9 $
Author:
Steven R. Emmerson
  • Constructor Details

  • Method Details

    • getPolarType

      protected final RealTupleType getPolarType()
      Gets the vector space of this instance.
      Returns:
      The vector space of this instance.
    • getRangeIndex

      protected final int getRangeIndex()
      Gets the index of the range element.
      Returns:
      The index of the range element.
    • getBearingIndex

      protected final int getBearingIndex()
      Gets the index of the bearing element.
      Returns:
      The index of the bearing element.
    • getBearingIndex

      public static int getBearingIndex(RealTupleType polarType) throws VisADException
      Gets the index of the bearing element of a vector space.
      Parameters:
      polarType - The vector space.
      Returns:
      The index of the bearing element.
      Throws:
      VisADException - VisAD failure.
    • getRangeType

      protected final RealType getRangeType() throws VisADException
      Gets the RealType of the range element.
      Returns:
      The RealType of the range element of this instance.
      Throws:
      VisADException - VisAD failure.
    • getBearingType

      protected final RealType getBearingType() throws VisADException
      Gets the RealType of the bearing element.
      Returns:
      The RealType of the bearing element of this instance.
      Throws:
      VisADException - VisAD failure.
    • equals

      public boolean equals(Object obj)
      Indicates if this instance is semantically identical to another object.
      Overrides:
      equals in class Object
      Parameters:
      obj - The other object.
      Returns:
      true if and only if this instance is semantically identical to the other object.
    • hashCode

      public int hashCode()
      Gets the hash code of this instance.
      Overrides:
      hashCode in class Object
      Returns:
      The hash code of this instance.