|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.interlis.iox_j.jts.Iox2jts
public class Iox2jts
Utility to convert from INTERLIS to JTS geometry types.
Method Summary | |
---|---|
static java.lang.String |
coord2hexwkb(IomObject value)
Converts a COORD to a OGC WKB hex string. |
static com.vividsolutions.jts.geom.Coordinate |
coord2JTS(IomObject value)
Converts a COORD to a JTS Coordinate. |
static java.lang.String |
polyline2hexwkb(IomObject value,
double p)
Converts a POLYLINE to a OGC WKB hex string. |
static com.vividsolutions.jts.geom.CoordinateList |
polyline2JTS(IomObject polylineObj,
boolean isSurfaceOrArea,
double p)
Converts a POLYLINE to a JTS CoordinateList. |
static java.lang.String |
surface2hexwkb(IomObject value,
double strokeP)
Converts a SURFACE to a OGC WKB hex string. |
static com.vividsolutions.jts.geom.Polygon |
surface2JTS(IomObject obj,
double strokeP)
Converts a SURFACE to a JTS Polygon. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String coord2hexwkb(IomObject value) throws Iox2jtsException
value
- INTERLIS COORD structure.
Iox2jtsException
public static java.lang.String polyline2hexwkb(IomObject value, double p) throws Iox2jtsException
value
- INTERLIS POLYLINE structure.
Iox2jtsException
public static java.lang.String surface2hexwkb(IomObject value, double strokeP) throws Iox2jtsException
value
- INTERLIS SURFACE structure.
Iox2jtsException
public static com.vividsolutions.jts.geom.Coordinate coord2JTS(IomObject value) throws Iox2jtsException
value
- INTERLIS COORD structure.
Iox2jtsException
public static com.vividsolutions.jts.geom.CoordinateList polyline2JTS(IomObject polylineObj, boolean isSurfaceOrArea, double p) throws Iox2jtsException
polylineObj
- INTERLIS POLYLINE structureisSurfaceOrArea
- true if called as part of a SURFACE conversion.p
- maximum stroke to use when removing ARCs
Iox2jtsException
public static com.vividsolutions.jts.geom.Polygon surface2JTS(IomObject obj, double strokeP) throws Iox2jtsException
obj
- INTERLIS SURFACE structurestrokeP
- maximum stroke to use when removing ARCs
Iox2jtsException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |