Class LegacyShapeReadWriterFormat
Reads & writes a shape from a given string in the old format.
Inheritance
Inherited Members
Assembly: Spatial4n.dll
Syntax
[Obsolete]
public class LegacyShapeReadWriterFormat
Methods
Name | Description |
---|---|
ReadShapeOrNull(String, SpatialContext) | Reads the shape specification as defined in the class javadocs. If the first character is a letter but it doesn't complete out "Circle" or "CIRCLE" then this method returns null, offering the caller the opportunity to potentially try additional parsing. If the first character is not a letter then it's assumed to be a point or rectangle. If that doesn't work out then an InvalidShapeException is thrown. |
WriteShape(IShape) | Writes a shape to a string, in a format that can be read by SpatialContext. |
WriteShape(IShape, String) | Writes a shape to a string, in a format that can be read by
SpatialContext.
Overloaded to provide a |