{-# LANGUAGE EmptyDataDecls, FlexibleContexts, FlexibleInstances, ForeignFunctionInterface, IncoherentInstances, MultiParamTypeClasses, OverlappingInstances, TemplateHaskell, TypeFamilies, TypeSynonymInstances #-} module GDAL.OGRLineString.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.OGRLineString.RawType import GDAL.OGRLineString.FFI import GDAL.OGRLineString.Interface import GDAL.OGRLineString.Cast import GDAL.OGRLineString.RawType import GDAL.OGRLineString.Cast import GDAL.OGRLineString.Interface import GDAL.OGRPointIterator.RawType import GDAL.OGRPointIterator.Cast import GDAL.OGRPointIterator.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.OGRSimpleCurve.RawType import GDAL.OGRSimpleCurve.Cast import GDAL.OGRSimpleCurve.Interface import GDAL.OGRCurve.RawType import GDAL.OGRCurve.Cast import GDAL.OGRCurve.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 () => IOGRLineString (OGRLineString) where instance () => IOGRSimpleCurve (OGRLineString) where instance () => IOGRCurve (OGRLineString) where getNumPoints :: OGRLineString -> IO CInt getNumPoints = (Ptr RawOGRLineString -> IO CInt) -> OGRLineString -> IO CInt forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawOGRLineString -> IO CInt c_ogrlinestring_getnumpoints getPointIterator :: OGRLineString -> IO OGRPointIterator getPointIterator = (Ptr RawOGRLineString -> IO (Ptr RawOGRPointIterator)) -> OGRLineString -> IO OGRPointIterator forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawOGRLineString -> IO (Ptr RawOGRPointIterator) c_ogrlinestring_getpointiterator instance () => IOGRGeometry (OGRLineString) where getGeometryType :: OGRLineString -> IO CUInt getGeometryType = (Ptr RawOGRLineString -> IO CUInt) -> OGRLineString -> IO CUInt forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawOGRLineString -> IO CUInt c_ogrlinestring_getgeometrytype getEnvelope :: forall c0. (IOGREnvelope c0, FPtr c0) => OGRLineString -> c0 -> IO () getEnvelope = (Ptr RawOGRLineString -> Ptr RawOGREnvelope -> IO ()) -> OGRLineString -> 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 RawOGRLineString -> Ptr RawOGREnvelope -> IO () c_ogrlinestring_getenvelope intersects :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRLineString -> c0 -> IO CBool intersects = (Ptr RawOGRLineString -> Ptr RawOGRGeometry -> IO CBool) -> OGRLineString -> 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 RawOGRLineString -> Ptr RawOGRGeometry -> IO CBool c_ogrlinestring_intersects equals :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRLineString -> c0 -> IO CBool equals = (Ptr RawOGRLineString -> Ptr RawOGRGeometry -> IO CBool) -> OGRLineString -> 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 RawOGRLineString -> Ptr RawOGRGeometry -> IO CBool c_ogrlinestring_equals disjoint :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRLineString -> c0 -> IO CBool disjoint = (Ptr RawOGRLineString -> Ptr RawOGRGeometry -> IO CBool) -> OGRLineString -> 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 RawOGRLineString -> Ptr RawOGRGeometry -> IO CBool c_ogrlinestring_disjoint touches :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRLineString -> c0 -> IO CBool touches = (Ptr RawOGRLineString -> Ptr RawOGRGeometry -> IO CBool) -> OGRLineString -> 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 RawOGRLineString -> Ptr RawOGRGeometry -> IO CBool c_ogrlinestring_touches crosses :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRLineString -> c0 -> IO CBool crosses = (Ptr RawOGRLineString -> Ptr RawOGRGeometry -> IO CBool) -> OGRLineString -> 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 RawOGRLineString -> Ptr RawOGRGeometry -> IO CBool c_ogrlinestring_crosses within :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRLineString -> c0 -> IO CBool within = (Ptr RawOGRLineString -> Ptr RawOGRGeometry -> IO CBool) -> OGRLineString -> 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 RawOGRLineString -> Ptr RawOGRGeometry -> IO CBool c_ogrlinestring_within contains :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRLineString -> c0 -> IO CBool contains = (Ptr RawOGRLineString -> Ptr RawOGRGeometry -> IO CBool) -> OGRLineString -> 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 RawOGRLineString -> Ptr RawOGRGeometry -> IO CBool c_ogrlinestring_contains overlaps :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRLineString -> c0 -> IO CBool overlaps = (Ptr RawOGRLineString -> Ptr RawOGRGeometry -> IO CBool) -> OGRLineString -> 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 RawOGRLineString -> Ptr RawOGRGeometry -> IO CBool c_ogrlinestring_overlaps boundary :: OGRLineString -> IO OGRGeometry boundary = (Ptr RawOGRLineString -> IO (Ptr RawOGRGeometry)) -> OGRLineString -> IO OGRGeometry forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawOGRLineString -> IO (Ptr RawOGRGeometry) c_ogrlinestring_boundary distance :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRLineString -> c0 -> IO CDouble distance = (Ptr RawOGRLineString -> Ptr RawOGRGeometry -> IO CDouble) -> OGRLineString -> 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 RawOGRLineString -> Ptr RawOGRGeometry -> IO CDouble c_ogrlinestring_distance convexHull :: OGRLineString -> IO OGRGeometry convexHull = (Ptr RawOGRLineString -> IO (Ptr RawOGRGeometry)) -> OGRLineString -> IO OGRGeometry forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawOGRLineString -> IO (Ptr RawOGRGeometry) c_ogrlinestring_convexhull buffer :: OGRLineString -> CDouble -> CInt -> IO OGRGeometry buffer = (Ptr RawOGRLineString -> CDouble -> CInt -> IO (Ptr RawOGRGeometry)) -> OGRLineString -> 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 RawOGRLineString -> CDouble -> CInt -> IO (Ptr RawOGRGeometry) c_ogrlinestring_buffer intersection :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRLineString -> c0 -> IO OGRGeometry intersection = (Ptr RawOGRLineString -> Ptr RawOGRGeometry -> IO (Ptr RawOGRGeometry)) -> OGRLineString -> 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 RawOGRLineString -> Ptr RawOGRGeometry -> IO (Ptr RawOGRGeometry) c_ogrlinestring_intersection union :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRLineString -> c0 -> IO OGRGeometry union = (Ptr RawOGRLineString -> Ptr RawOGRGeometry -> IO (Ptr RawOGRGeometry)) -> OGRLineString -> 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 RawOGRLineString -> Ptr RawOGRGeometry -> IO (Ptr RawOGRGeometry) c_ogrlinestring_union unionCascaded :: OGRLineString -> IO OGRGeometry unionCascaded = (Ptr RawOGRLineString -> IO (Ptr RawOGRGeometry)) -> OGRLineString -> IO OGRGeometry forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawOGRLineString -> IO (Ptr RawOGRGeometry) c_ogrlinestring_unioncascaded difference :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRLineString -> c0 -> IO OGRGeometry difference = (Ptr RawOGRLineString -> Ptr RawOGRGeometry -> IO (Ptr RawOGRGeometry)) -> OGRLineString -> 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 RawOGRLineString -> Ptr RawOGRGeometry -> IO (Ptr RawOGRGeometry) c_ogrlinestring_difference symDifference :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRLineString -> c0 -> IO OGRGeometry symDifference = (Ptr RawOGRLineString -> Ptr RawOGRGeometry -> IO (Ptr RawOGRGeometry)) -> OGRLineString -> 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 RawOGRLineString -> Ptr RawOGRGeometry -> IO (Ptr RawOGRGeometry) c_ogrlinestring_symdifference centroid :: forall c0. (IOGRPoint c0, FPtr c0) => OGRLineString -> c0 -> IO CInt centroid = (Ptr RawOGRLineString -> Ptr RawOGRPoint -> IO CInt) -> OGRLineString -> 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 RawOGRLineString -> Ptr RawOGRPoint -> IO CInt c_ogrlinestring_centroid simplify :: OGRLineString -> CDouble -> IO OGRGeometry simplify = (Ptr RawOGRLineString -> CDouble -> IO (Ptr RawOGRGeometry)) -> OGRLineString -> 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 RawOGRLineString -> CDouble -> IO (Ptr RawOGRGeometry) c_ogrlinestring_simplify delaunayTriangulation :: OGRLineString -> CDouble -> CInt -> IO OGRGeometry delaunayTriangulation = (Ptr RawOGRLineString -> CDouble -> CInt -> IO (Ptr RawOGRGeometry)) -> OGRLineString -> 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 RawOGRLineString -> CDouble -> CInt -> IO (Ptr RawOGRGeometry) c_ogrlinestring_delaunaytriangulation polygonize :: OGRLineString -> IO OGRGeometry polygonize = (Ptr RawOGRLineString -> IO (Ptr RawOGRGeometry)) -> OGRLineString -> IO OGRGeometry forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawOGRLineString -> IO (Ptr RawOGRGeometry) c_ogrlinestring_polygonize distance3D :: forall c0. (IOGRGeometry c0, FPtr c0) => OGRLineString -> c0 -> IO CDouble distance3D = (Ptr RawOGRLineString -> Ptr RawOGRGeometry -> IO CDouble) -> OGRLineString -> 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 RawOGRLineString -> Ptr RawOGRGeometry -> IO CDouble c_ogrlinestring_distance3d instance () => IDeletable (OGRLineString) where delete :: OGRLineString -> IO () delete = (Ptr RawOGRLineString -> IO ()) -> OGRLineString -> IO () forall a ca y cy. (Castable a ca, Castable y cy) => (ca -> IO cy) -> a -> IO y xform0 Ptr RawOGRLineString -> IO () c_ogrlinestring_delete