类 PostgresqlGeometryAdapter

java.lang.Object
org.anyline.data.jdbc.postgresql.PostgresqlGeometryAdapter

public class PostgresqlGeometryAdapter extends Object
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    static org.postgresql.geometric.PGbox
    convert(org.anyline.entity.geometry.Box box)
     
    static org.postgresql.geometric.PGcircle
    convert(org.anyline.entity.geometry.Circle circle)
     
    static org.postgresql.geometric.PGline
    convert(org.anyline.entity.geometry.Line line)
     
    static org.postgresql.geometric.PGlseg
    convert(org.anyline.entity.geometry.LineSegment segment)
     
    static org.postgresql.geometric.PGpath
    convert(org.anyline.entity.geometry.LineString string)
     
    static org.postgresql.geometric.PGpoint
    convert(org.anyline.entity.geometry.Point point)
     
    static org.anyline.entity.geometry.Box
    parseBox(org.postgresql.geometric.PGbox pg)
    长方形
    static org.anyline.entity.geometry.Circle
    parseCircle(org.postgresql.geometric.PGcircle pg)
    static org.anyline.entity.geometry.Line
    parseLine(org.postgresql.geometric.PGline pg)
    直线
    static org.anyline.entity.geometry.LineSegment
    parseLineSegment(org.postgresql.geometric.PGlseg pg)
    线段(两个点)
    static org.anyline.entity.geometry.LineString
    parsePath(org.postgresql.geometric.PGpath pg)
    线(多个点)
    static org.anyline.entity.geometry.Point
    parsePoint(org.postgresql.geometric.PGpoint pg)
    static org.anyline.entity.geometry.Polygon
    parsePolygon(org.postgresql.geometric.PGpolygon pg)
    多边形

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • 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)