Trait ToSFCGAL

Source
pub trait ToSFCGAL {
    // Required method
    fn to_sfcgal(&self) -> Result<SFCGeometry>;
}
Expand description

Convert object to a SFCGeometry (implemented on CoordSeq and geo-types geometries)

Required Methods§

Implementations on Foreign Types§

Source§

impl ToSFCGAL for Geometry<f64>

Create a SFCGeometry from any geo-type Geometry

Source§

impl ToSFCGAL for GeometryCollection<f64>

Create a SFCGeometry from a geo-types GeometryCollection

Source§

impl ToSFCGAL for Line<f64>

Create a SFCGeometry from a geo-types Line

Source§

impl ToSFCGAL for LineString<f64>

Create a SFCGeometry from a geo-types LineString

Source§

impl ToSFCGAL for MultiLineString<f64>

Create a SFCGeometry from a geo-types MultiLineString

Source§

impl ToSFCGAL for MultiPoint<f64>

Create a SFCGeometry from a geo-types MultiPoint

Source§

impl ToSFCGAL for MultiPolygon<f64>

Create a SFCGeometry from a geo-types MultiPolygon

Source§

impl ToSFCGAL for Point<f64>

Create a SFCGeometry from a geo-types Point

Source§

impl ToSFCGAL for Polygon<f64>

Create a SFCGeometry from a geo-types Polygon

Source§

impl ToSFCGAL for Rect<f64>

Create a SFCGeometry from a geo-types Rect

Source§

impl ToSFCGAL for Triangle<f64>

Create a SFCGeometry from a geo-types Triangle

Implementors§

Source§

impl<T: ToSFCGALGeom + CoordType> ToSFCGAL for CoordSeq<T>

Convert coordinates (tuple of 2 or 3 members) to SFCGeometry using the corresponding CoordSeq variant of the wanted geometry.