| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
PostgresqlTypes.Lseg
Contents
Documentation
PostgreSQL lseg type. Line segment in 2D plane.
The line segment is defined by two endpoints, each with (x,y) coordinates.
Stored as four 64-bit floating point numbers: (x1, y1, x2, y2).
Constructors
| Lseg | |
Instances
| Arbitrary Lseg Source # | |
| Eq Lseg Source # | |
| Ord Lseg Source # | |
| IsString Lseg Source # | |
Defined in PostgresqlTypes.Lseg Methods fromString :: String -> Lseg # | |
| Read Lseg Source # | |
| Show Lseg Source # | |
| Hashable Lseg Source # | |
Defined in PostgresqlTypes.Lseg | |
| IsScalar Lseg Source # | |
Defined in PostgresqlTypes.Lseg Methods schemaName :: Tagged Lseg (Maybe Text) # typeName :: Tagged Lseg Text # baseOid :: Tagged Lseg (Maybe Word32) # arrayOid :: Tagged Lseg (Maybe Word32) # typeParams :: Tagged Lseg [Text] # typeSignature :: Tagged Lseg Text # binaryEncoder :: Lseg -> Write # binaryDecoder :: Variable (Either DecodingError Lseg) # textualEncoder :: Lseg -> TextBuilder # | |