类 PostgresqlGeometryAdapter
java.lang.Object
org.anyline.data.jdbc.postgresql.PostgresqlGeometryAdapter
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static org.postgresql.geometric.PGboxconvert(org.anyline.entity.geometry.Box box) static org.postgresql.geometric.PGcircleconvert(org.anyline.entity.geometry.Circle circle) static org.postgresql.geometric.PGlineconvert(org.anyline.entity.geometry.Line line) static org.postgresql.geometric.PGlsegconvert(org.anyline.entity.geometry.LineSegment segment) static org.postgresql.geometric.PGpathconvert(org.anyline.entity.geometry.LineString string) static org.postgresql.geometric.PGpointconvert(org.anyline.entity.geometry.Point point) static org.anyline.entity.geometry.BoxparseBox(org.postgresql.geometric.PGbox pg) 长方形static org.anyline.entity.geometry.CircleparseCircle(org.postgresql.geometric.PGcircle pg) 圆static org.anyline.entity.geometry.LineparseLine(org.postgresql.geometric.PGline pg) 直线static org.anyline.entity.geometry.LineSegmentparseLineSegment(org.postgresql.geometric.PGlseg pg) 线段(两个点)static org.anyline.entity.geometry.LineStringparsePath(org.postgresql.geometric.PGpath pg) 线(多个点)static org.anyline.entity.geometry.PointparsePoint(org.postgresql.geometric.PGpoint pg) 点static org.anyline.entity.geometry.PolygonparsePolygon(org.postgresql.geometric.PGpolygon pg) 多边形
-
构造器详细资料
-
PostgresqlGeometryAdapter
public PostgresqlGeometryAdapter()
-
-
方法详细资料
-
parsePoint
public static org.anyline.entity.geometry.Point parsePoint(org.postgresql.geometric.PGpoint pg) 点- 参数:
pg- PG原生point- 返回:
- Point
-
parseLineSegment
public static org.anyline.entity.geometry.LineSegment parseLineSegment(org.postgresql.geometric.PGlseg pg) 线段(两个点)- 参数:
pg- PG原生lseg- 返回:
- LineSegment
-
parsePath
public static org.anyline.entity.geometry.LineString parsePath(org.postgresql.geometric.PGpath pg) 线(多个点)- 参数:
pg- PG原生path- 返回:
- LineString
-
parsePolygon
public static org.anyline.entity.geometry.Polygon parsePolygon(org.postgresql.geometric.PGpolygon pg) 多边形- 参数:
pg- PG原生polygon- 返回:
- Polygon
-
parseCircle
public static org.anyline.entity.geometry.Circle parseCircle(org.postgresql.geometric.PGcircle pg) 圆- 参数:
pg- PG原生circle- 返回:
- Circle
-
parseLine
public static org.anyline.entity.geometry.Line parseLine(org.postgresql.geometric.PGline pg) 直线- 参数:
pg- PG原生line- 返回:
- Line
-
parseBox
public static org.anyline.entity.geometry.Box parseBox(org.postgresql.geometric.PGbox pg) 长方形- 参数:
pg- PG原生box- 返回:
- Line
-
convert
public static org.postgresql.geometric.PGpoint convert(org.anyline.entity.geometry.Point point) -
convert
public static org.postgresql.geometric.PGlseg convert(org.anyline.entity.geometry.LineSegment segment) -
convert
public static org.postgresql.geometric.PGpath convert(org.anyline.entity.geometry.LineString string) -
convert
public static org.postgresql.geometric.PGline convert(org.anyline.entity.geometry.Line line) -
convert
public static org.postgresql.geometric.PGbox convert(org.anyline.entity.geometry.Box box) -
convert
public static org.postgresql.geometric.PGcircle convert(org.anyline.entity.geometry.Circle circle)
-