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§
fn to_sfcgal(&self) -> Result<SFCGeometry>
Implementations on Foreign Types§
source§impl ToSFCGAL for Geometry<f64>
impl ToSFCGAL for Geometry<f64>
Create a SFCGeometry
from any geo-type Geometry
fn to_sfcgal(&self) -> Result<SFCGeometry>
source§impl ToSFCGAL for GeometryCollection<f64>
impl ToSFCGAL for GeometryCollection<f64>
Create a SFCGeometry
from a geo-types GeometryCollection
fn to_sfcgal(&self) -> Result<SFCGeometry>
source§impl ToSFCGAL for Line<f64>
impl ToSFCGAL for Line<f64>
Create a SFCGeometry
from a geo-types Line
fn to_sfcgal(&self) -> Result<SFCGeometry>
source§impl ToSFCGAL for LineString<f64>
impl ToSFCGAL for LineString<f64>
Create a SFCGeometry
from a geo-types LineString
fn to_sfcgal(&self) -> Result<SFCGeometry>
source§impl ToSFCGAL for MultiLineString<f64>
impl ToSFCGAL for MultiLineString<f64>
Create a SFCGeometry
from a geo-types MultiLineString
fn to_sfcgal(&self) -> Result<SFCGeometry>
source§impl ToSFCGAL for MultiPoint<f64>
impl ToSFCGAL for MultiPoint<f64>
Create a SFCGeometry
from a geo-types MultiPoint
fn to_sfcgal(&self) -> Result<SFCGeometry>
source§impl ToSFCGAL for MultiPolygon<f64>
impl ToSFCGAL for MultiPolygon<f64>
Create a SFCGeometry
from a geo-types MultiPolygon
fn to_sfcgal(&self) -> Result<SFCGeometry>
source§impl ToSFCGAL for Point<f64>
impl ToSFCGAL for Point<f64>
Create a SFCGeometry
from a geo-types Point
fn to_sfcgal(&self) -> Result<SFCGeometry>
source§impl ToSFCGAL for Polygon<f64>
impl ToSFCGAL for Polygon<f64>
Create a SFCGeometry
from a geo-types Polygon
fn to_sfcgal(&self) -> Result<SFCGeometry>
source§impl ToSFCGAL for Rect<f64>
impl ToSFCGAL for Rect<f64>
Create a SFCGeometry
from a geo-types Rect
fn to_sfcgal(&self) -> Result<SFCGeometry>
source§impl ToSFCGAL for Triangle<f64>
impl ToSFCGAL for Triangle<f64>
Create a SFCGeometry
from a geo-types Triangle