EPUB | CHM | PDF

TPSQLLSegField

Top Previous Next

TPSQLLSegField encapsulates built-in PostgreSQL lseg type.

type
  TPSQLLSeg = packed record
    class operator Equal(L1: TPSQLLSeg; L2: TPSQLLSeg): Boolean;
    case Integer of
      0: (X1, Y1, X2, Y2: Double);
      1: (P1, P2: TPSQLPoint);
  end;
 
  TPSQLLSegField = class(TNumericField)
    property Value: TPSQLLSeg;
  end;

Description:

Line segments (lseg) are represented by pairs of points.