Package hec.map.aishape
Class AiShapeArc
java.lang.Object
hec.map.aishape.AiShapeObject
hec.map.aishape.AiShapeArc
- All Implemented Interfaces:
AiShapeConst,ImportArc,ImportObject,Serializable
- Direct Known Subclasses:
AiShapePolylineM,AiShapePolylineZ
AiShapeArc class replicates Arc Info Arc
shape type
September 1998
September 1998
- See Also:
-
Field Summary
Fields inherited from class hec.map.aishape.AiShapeObject
_contentLength, _contentRead, _index, _typeFields inherited from interface hec.map.aishape.AiShapeConst
DEBUG, FILE_CODE, HIGHLIGHT_MODIFIER, QUERY_FLASH_LENGTH, SHAPE_TYPE_ARC, SHAPE_TYPE_MULTI_POINT, SHAPE_TYPE_NULL, SHAPE_TYPE_POINT, SHAPE_TYPE_POINT_M, SHAPE_TYPE_POINT_Z, SHAPE_TYPE_POLYGON, SHAPE_TYPE_POLYGON_M, SHAPE_TYPE_POLYGON_Z, SHAPE_TYPE_POLYLINE_M, SHAPE_TYPE_POLYLINE_Z, VERSION, XY_QUERY_TOLERANCE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAiShapeArc(int type) AiShapeArc(int index, Vector<WorldLine> worldLines) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintReturns the number of bytes in the body of the shape.intintreadRecord(EndianInputStream input) voidwriteRecord(EndianOutputStream output) Writes the shape record for this shape to the output stream.Methods inherited from class hec.map.aishape.AiShapeObject
getAttribute, getBytesRead, getExtent, getFields, getIndex, printFields, readBoundingBox, readRecordHeader, recordByteLength, setAttribute, writeBoundingBox, writeRecordHeaderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hec.map.importer.ImportObject
getAttribute
-
Constructor Details
-
AiShapeArc
-
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:
contentByteLengthin classAiShapeObject
-
writeRecord
Writes the shape record for this shape to the output stream.- Specified by:
writeRecordin classAiShapeObject
-
readRecord
- Overrides:
readRecordin classAiShapeObject
-
contains
- Overrides:
containsin classAiShapeObject
-
getReferencePt
-
getArcLines
- Specified by:
getArcLinesin interfaceImportArc- Returns:
-
getNumberOfLines
public int getNumberOfLines()
-