public class Geo3dBinaryCodec
extends org.locationtech.spatial4j.io.BinaryCodec
BinaryCodec
Constructor and Description |
---|
Geo3dBinaryCodec(org.locationtech.spatial4j.context.SpatialContext ctx,
org.locationtech.spatial4j.context.SpatialContextFactory factory) |
Modifier and Type | Method and Description |
---|---|
org.locationtech.spatial4j.shape.Circle |
readCircle(DataInput dataInput) |
org.locationtech.spatial4j.shape.ShapeCollection |
readCollection(DataInput dataInput) |
org.locationtech.spatial4j.shape.Point |
readPoint(DataInput dataInput) |
org.locationtech.spatial4j.shape.Rectangle |
readRect(DataInput dataInput) |
org.locationtech.spatial4j.shape.Shape |
readShape(DataInput dataInput) |
void |
writeCircle(DataOutput dataOutput,
org.locationtech.spatial4j.shape.Circle c) |
void |
writeCollection(DataOutput dataOutput,
org.locationtech.spatial4j.shape.ShapeCollection col) |
void |
writePoint(DataOutput dataOutput,
org.locationtech.spatial4j.shape.Point pt) |
void |
writeRect(DataOutput dataOutput,
org.locationtech.spatial4j.shape.Rectangle r) |
void |
writeShape(DataOutput dataOutput,
org.locationtech.spatial4j.shape.Shape s) |
public Geo3dBinaryCodec(org.locationtech.spatial4j.context.SpatialContext ctx, org.locationtech.spatial4j.context.SpatialContextFactory factory)
public org.locationtech.spatial4j.shape.Shape readShape(DataInput dataInput) throws IOException
readShape
in class org.locationtech.spatial4j.io.BinaryCodec
IOException
public void writeShape(DataOutput dataOutput, org.locationtech.spatial4j.shape.Shape s) throws IOException
writeShape
in class org.locationtech.spatial4j.io.BinaryCodec
IOException
public org.locationtech.spatial4j.shape.Point readPoint(DataInput dataInput) throws IOException
readPoint
in class org.locationtech.spatial4j.io.BinaryCodec
IOException
public void writePoint(DataOutput dataOutput, org.locationtech.spatial4j.shape.Point pt) throws IOException
writePoint
in class org.locationtech.spatial4j.io.BinaryCodec
IOException
public org.locationtech.spatial4j.shape.Rectangle readRect(DataInput dataInput) throws IOException
readRect
in class org.locationtech.spatial4j.io.BinaryCodec
IOException
public void writeRect(DataOutput dataOutput, org.locationtech.spatial4j.shape.Rectangle r) throws IOException
writeRect
in class org.locationtech.spatial4j.io.BinaryCodec
IOException
public org.locationtech.spatial4j.shape.Circle readCircle(DataInput dataInput) throws IOException
readCircle
in class org.locationtech.spatial4j.io.BinaryCodec
IOException
public void writeCircle(DataOutput dataOutput, org.locationtech.spatial4j.shape.Circle c) throws IOException
writeCircle
in class org.locationtech.spatial4j.io.BinaryCodec
IOException
public org.locationtech.spatial4j.shape.ShapeCollection readCollection(DataInput dataInput) throws IOException
readCollection
in class org.locationtech.spatial4j.io.BinaryCodec
IOException
public void writeCollection(DataOutput dataOutput, org.locationtech.spatial4j.shape.ShapeCollection col) throws IOException
writeCollection
in class org.locationtech.spatial4j.io.BinaryCodec
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.