{-# LANGUAGE EmptyDataDecls, FlexibleContexts, FlexibleInstances, ForeignFunctionInterface, IncoherentInstances, MultiParamTypeClasses, OverlappingInstances, TemplateHaskell, TypeFamilies, TypeSynonymInstances #-} module GDAL.OGRSurface.Implementation where import Data.Monoid import Data.Word import Data.Int import Foreign.C import Foreign.Ptr import Language.Haskell.TH import Language.Haskell.TH.Syntax import System.IO.Unsafe import FFICXX.Runtime.Cast import FFICXX.Runtime.CodeGen.Cxx import FFICXX.Runtime.TH import GDAL.OGRSurface.RawType import GDAL.OGRSurface.FFI import GDAL.OGRSurface.Interface import GDAL.OGRSurface.Cast import GDAL.OGRSurface.RawType import GDAL.OGRSurface.Cast import GDAL.OGRSurface.Interface import GDAL.OGRPolygon.RawType import GDAL.OGRPolygon.Cast import GDAL.OGRPolygon.Interface import GDAL.OGRMultiPolygon.RawType import GDAL.OGRMultiPolygon.Cast import GDAL.OGRMultiPolygon.Interface import GDAL.OGREnvelope.RawType import GDAL.OGREnvelope.Cast import GDAL.OGREnvelope.Interface import GDAL.OGRPoint.RawType import GDAL.OGRPoint.Cast import GDAL.OGRPoint.Interface import GDAL.OGRGeometry.RawType import GDAL.OGRGeometry.Cast import GDAL.OGRGeometry.Interface import STD.Deletable.RawType import STD.Deletable.Cast import STD.Deletable.Interface instance () => IOGRSurface (OGRSurface) where instance () => IOGRGeometry (OGRSurface) where getGeometryType :: OGRSurface -> IO CUInt getGeometryType = (Ptr RawOGRSurface -> IO CUInt) -> OGRSurface -> IO CUInt forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawOGRSurface -> IO CUInt c_ogrsurface_getgeometrytype getEnvelope :: forall c0. (IOGREnvelope c0, FPtr c0) => OGRSurface -> c0 -> IO () getEnvelope = (Ptr RawOGRSurface -> Ptr RawOGREnvelope -> IO ()) -> OGRSurface -> c0 -> IO () forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawOGRSurface -> Ptr RawOGREnvelope -> IO () c_ogrsurface_getenvelope intersects :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRSurface -> c0 -> IO CBool intersects = (Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CBool) -> OGRSurface -> c0 -> IO CBool forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CBool c_ogrsurface_intersects equals :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRSurface -> c0 -> IO CBool equals = (Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CBool) -> OGRSurface -> c0 -> IO CBool forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CBool c_ogrsurface_equals disjoint :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRSurface -> c0 -> IO CBool disjoint = (Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CBool) -> OGRSurface -> c0 -> IO CBool forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CBool c_ogrsurface_disjoint touches :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRSurface -> c0 -> IO CBool touches = (Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CBool) -> OGRSurface -> c0 -> IO CBool forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CBool c_ogrsurface_touches crosses :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRSurface -> c0 -> IO CBool crosses = (Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CBool) -> OGRSurface -> c0 -> IO CBool forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CBool c_ogrsurface_crosses within :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRSurface -> c0 -> IO CBool within = (Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CBool) -> OGRSurface -> c0 -> IO CBool forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CBool c_ogrsurface_within contains :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRSurface -> c0 -> IO CBool contains = (Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CBool) -> OGRSurface -> c0 -> IO CBool forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CBool c_ogrsurface_contains overlaps :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRSurface -> c0 -> IO CBool overlaps = (Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CBool) -> OGRSurface -> c0 -> IO CBool forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CBool c_ogrsurface_overlaps boundary :: OGRSurface -> IO OGRGeometry boundary = (Ptr RawOGRSurface -> IO (Ptr RawOGRGeometry)) -> OGRSurface -> IO OGRGeometry forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawOGRSurface -> IO (Ptr RawOGRGeometry) c_ogrsurface_boundary distance :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRSurface -> c0 -> IO CDouble distance = (Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CDouble) -> OGRSurface -> c0 -> IO CDouble forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CDouble c_ogrsurface_distance convexHull :: OGRSurface -> IO OGRGeometry convexHull = (Ptr RawOGRSurface -> IO (Ptr RawOGRGeometry)) -> OGRSurface -> IO OGRGeometry forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawOGRSurface -> IO (Ptr RawOGRGeometry) c_ogrsurface_convexhull buffer :: OGRSurface -> CDouble -> CInt -> IO OGRGeometry buffer = (Ptr RawOGRSurface -> CDouble -> CInt -> IO (Ptr RawOGRGeometry)) -> OGRSurface -> CDouble -> CInt -> IO OGRGeometry forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y xform2 Ptr RawOGRSurface -> CDouble -> CInt -> IO (Ptr RawOGRGeometry) c_ogrsurface_buffer intersection :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRSurface -> c0 -> IO OGRGeometry intersection = (Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO (Ptr RawOGRGeometry)) -> OGRSurface -> c0 -> IO OGRGeometry forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO (Ptr RawOGRGeometry) c_ogrsurface_intersection union :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRSurface -> c0 -> IO OGRGeometry union = (Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO (Ptr RawOGRGeometry)) -> OGRSurface -> c0 -> IO OGRGeometry forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO (Ptr RawOGRGeometry) c_ogrsurface_union unionCascaded :: OGRSurface -> IO OGRGeometry unionCascaded = (Ptr RawOGRSurface -> IO (Ptr RawOGRGeometry)) -> OGRSurface -> IO OGRGeometry forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawOGRSurface -> IO (Ptr RawOGRGeometry) c_ogrsurface_unioncascaded difference :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRSurface -> c0 -> IO OGRGeometry difference = (Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO (Ptr RawOGRGeometry)) -> OGRSurface -> c0 -> IO OGRGeometry forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO (Ptr RawOGRGeometry) c_ogrsurface_difference symDifference :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRSurface -> c0 -> IO OGRGeometry symDifference = (Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO (Ptr RawOGRGeometry)) -> OGRSurface -> c0 -> IO OGRGeometry forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO (Ptr RawOGRGeometry) c_ogrsurface_symdifference centroid :: forall c0. (IOGRPoint c0, FPtr c0) => OGRSurface -> c0 -> IO CInt centroid = (Ptr RawOGRSurface -> Ptr RawOGRPoint -> IO CInt) -> OGRSurface -> c0 -> IO CInt forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawOGRSurface -> Ptr RawOGRPoint -> IO CInt c_ogrsurface_centroid simplify :: OGRSurface -> CDouble -> IO OGRGeometry simplify = (Ptr RawOGRSurface -> CDouble -> IO (Ptr RawOGRGeometry)) -> OGRSurface -> CDouble -> IO OGRGeometry forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawOGRSurface -> CDouble -> IO (Ptr RawOGRGeometry) c_ogrsurface_simplify delaunayTriangulation :: OGRSurface -> CDouble -> CInt -> IO OGRGeometry delaunayTriangulation = (Ptr RawOGRSurface -> CDouble -> CInt -> IO (Ptr RawOGRGeometry)) -> OGRSurface -> CDouble -> CInt -> IO OGRGeometry forall a ca x1 cx1 x2 cx2 y cy. (Castable a ca, Castable x1 cx1, Castable x2 cx2, Castable y cy) => (ca -> cx1 -> cx2 -> IO cy) -> a -> x1 -> x2 -> IO y xform2 Ptr RawOGRSurface -> CDouble -> CInt -> IO (Ptr RawOGRGeometry) c_ogrsurface_delaunaytriangulation polygonize :: OGRSurface -> IO OGRGeometry polygonize = (Ptr RawOGRSurface -> IO (Ptr RawOGRGeometry)) -> OGRSurface -> IO OGRGeometry forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawOGRSurface -> IO (Ptr RawOGRGeometry) c_ogrsurface_polygonize distance3D :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRSurface -> c0 -> IO CDouble distance3D = (Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CDouble) -> OGRSurface -> c0 -> IO CDouble forall a ca x1 cx1 y cy. (Castable a ca, Castable x1 cx1, Castable y cy) => (ca -> cx1 -> IO cy) -> a -> x1 -> IO y xform1 Ptr RawOGRSurface -> Ptr RawOGRGeometry -> IO CDouble c_ogrsurface_distance3d instance () => IDeletable (OGRSurface) where delete :: OGRSurface -> IO () delete = (Ptr RawOGRSurface -> IO ()) -> OGRSurface -> IO () forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawOGRSurface -> IO () c_ogrsurface_delete