Package hec.map.aishape
Class AiShapePoint
java.lang.Object
hec.map.aishape.AiShapeObject
hec.map.aishape.AiShapePoint
- All Implemented Interfaces:
AiShapeConst
,ImportObject
,ImportPoint
,Serializable
- Direct Known Subclasses:
AiShapePointM
,AiShapePointZ
AiShapePoint class replicates Arc Info Point
shape type
September 1998
September 1998
- See Also:
-
Field Summary
Fields inherited from class hec.map.aishape.AiShapeObject
_contentLength, _contentRead, _index, _type
Fields 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
ConstructorsConstructorDescriptionAiShapePoint
(int type) AiShapePoint
(int type, int index, WorldPt wp) AiShapePoint
(int index, WorldPt wp) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns the number of bytes in the body of this shape when stored on disk.int
readRecord
(EndianInputStream input) void
setWorldPt
(WorldPt pt) void
writeRecord
(EndianOutputStream output) Methods inherited from class hec.map.aishape.AiShapeObject
getAttribute, getBytesRead, getExtent, getFields, getIndex, printFields, readBoundingBox, readRecordHeader, recordByteLength, setAttribute, writeBoundingBox, writeRecordHeader
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hec.map.importer.ImportObject
getAttribute
-
Constructor Details
-
AiShapePoint
public AiShapePoint(int type) - Parameters:
type
-
-
AiShapePoint
public AiShapePoint() -
AiShapePoint
-
AiShapePoint
-
-
Method Details
-
contentByteLength
public int contentByteLength()Description copied from class:AiShapeObject
Returns the number of bytes in the body of this shape when stored on disk.- Specified by:
contentByteLength
in classAiShapeObject
-
writeRecord
- Specified by:
writeRecord
in classAiShapeObject
-
readRecord
- Overrides:
readRecord
in classAiShapeObject
-
getReferencePt
-
setWorldPt
-
getWorldPt
- Specified by:
getWorldPt
in interfaceImportPoint
- Returns:
-
contains
- Overrides:
contains
in classAiShapeObject
-