Class AiShapeArc

All Implemented Interfaces:
AiShapeConst, ImportArc, ImportObject, Serializable
Direct Known Subclasses:
AiShapePolylineM, AiShapePolylineZ

public class AiShapeArc extends AiShapeObject implements ImportArc
AiShapeArc class replicates Arc Info Arc shape type
September 1998
See Also:
  • Constructor Details

    • AiShapeArc

      public AiShapeArc(int index, Vector<WorldLine> worldLines)
    • AiShapeArc

      protected AiShapeArc(int type)
    • AiShapeArc

      public AiShapeArc()
  • Method Details

    • contentByteLength

      public int contentByteLength()
      Returns the number of bytes in the body of the shape.
      Specified by:
      contentByteLength in class AiShapeObject
    • writeRecord

      public void writeRecord(hec.io.EndianOutputStream output)
      Writes the shape record for this shape to the output stream.
      Specified by:
      writeRecord in class AiShapeObject
    • readRecord

      public int readRecord(hec.io.EndianInputStream input)
      Overrides:
      readRecord in class AiShapeObject
    • contains

      public boolean contains(double tolerance, WorldPt pt)
      Overrides:
      contains in class AiShapeObject
    • getReferencePt

      public WorldPt getReferencePt()
    • getArcLines

      public Vector<WorldLine> getArcLines()
      Specified by:
      getArcLines in interface ImportArc
      Returns:
    • getNumberOfLines

      public int getNumberOfLines()