Class GeometryTranslator
- java.lang.Object
-
- org.hortonmachine.gears.io.dxfdwg.libs.GeometryTranslator
-
public class GeometryTranslator extends Object
-
-
Constructor Summary
Constructors Constructor Description GeometryTranslator(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opengis.feature.simple.SimpleFeatureconvertDwgArc(String typeName, String layerName, DwgArc arc, int id)Builds a line feature from a dwg arc.org.opengis.feature.simple.SimpleFeatureconvertDwgAttribute(String typeName, String layerName, DwgAttrib attribute, int id)Builds a point feature from a dwg attribute.org.opengis.feature.simple.SimpleFeatureconvertDwgCircle(String typeName, String layerName, DwgCircle circle, int id)Builds a polygon feature from a dwg circle.org.opengis.feature.simple.SimpleFeatureconvertDwgLine(String typeName, String layerName, DwgLine line, int id)Builds a line feature from a dwg line.org.opengis.feature.simple.SimpleFeatureconvertDwgLwPolyline(String typeName, String layerName, DwgLwPolyline lwPolyline, int id)Builds a line feature from a dwg polyline 2D.org.opengis.feature.simple.SimpleFeatureconvertDwgMText(String typeName, String layerName, DwgMText text, int id)Builds a point feature from a dwg text.org.opengis.feature.simple.SimpleFeatureconvertDwgPoint(String typeName, String layerName, DwgPoint point, int id)Builds a point feature from a dwg point.org.opengis.feature.simple.SimpleFeatureconvertDwgPolyline2D(String typeName, String layerName, DwgPolyline2D polyline2d, int id)Builds a line feature from a dwg polyline 2D.org.opengis.feature.simple.SimpleFeatureconvertDwgPolyline3D(String typeName, String layerName, DwgPolyline3D polyline3d, int id)Builds a line feature from a dwg polyline 3D.org.opengis.feature.simple.SimpleFeatureconvertDwgSolid(String typeName, String layerName, DwgSolid solid, int id)Builds a polygon feature from a dwg solid.org.opengis.feature.simple.SimpleFeatureconvertDwgText(String typeName, String layerName, DwgText text, int id)Builds a point feature from a dwg text.
-
-
-
Method Detail
-
convertDwgMText
public org.opengis.feature.simple.SimpleFeature convertDwgMText(String typeName, String layerName, DwgMText text, int id)
Builds a point feature from a dwg text.
-
convertDwgText
public org.opengis.feature.simple.SimpleFeature convertDwgText(String typeName, String layerName, DwgText text, int id)
Builds a point feature from a dwg text.
-
convertDwgAttribute
public org.opengis.feature.simple.SimpleFeature convertDwgAttribute(String typeName, String layerName, DwgAttrib attribute, int id)
Builds a point feature from a dwg attribute.
-
convertDwgPolyline3D
public org.opengis.feature.simple.SimpleFeature convertDwgPolyline3D(String typeName, String layerName, DwgPolyline3D polyline3d, int id)
Builds a line feature from a dwg polyline 3D. TODO handle these as contourlines
-
convertDwgPolyline2D
public org.opengis.feature.simple.SimpleFeature convertDwgPolyline2D(String typeName, String layerName, DwgPolyline2D polyline2d, int id)
Builds a line feature from a dwg polyline 2D.
-
convertDwgLwPolyline
public org.opengis.feature.simple.SimpleFeature convertDwgLwPolyline(String typeName, String layerName, DwgLwPolyline lwPolyline, int id)
Builds a line feature from a dwg polyline 2D.
-
convertDwgPoint
public org.opengis.feature.simple.SimpleFeature convertDwgPoint(String typeName, String layerName, DwgPoint point, int id)
Builds a point feature from a dwg point.
-
convertDwgLine
public org.opengis.feature.simple.SimpleFeature convertDwgLine(String typeName, String layerName, DwgLine line, int id)
Builds a line feature from a dwg line.
-
convertDwgCircle
public org.opengis.feature.simple.SimpleFeature convertDwgCircle(String typeName, String layerName, DwgCircle circle, int id)
Builds a polygon feature from a dwg circle.
-
convertDwgSolid
public org.opengis.feature.simple.SimpleFeature convertDwgSolid(String typeName, String layerName, DwgSolid solid, int id)
Builds a polygon feature from a dwg solid.
-
-