Constructor SpatialLength
- Namespace
- YndigoBlue.Velocity.Functions
- Assembly
- YndigoBlue.Velocity.dll
SpatialLength(Column)
Initializes a new instance of ST_Length with a geometry column.
public SpatialLength(Column column)
Parameters
columnColumnThe geometry column to calculate length for.
SpatialLength(Column, UnitOfMeasure)
Initializes a new instance of ST_Length with a geography column and unit of measure.
public SpatialLength(Column column, UnitOfMeasure unitOfMeasure)
Parameters
columnColumnThe geography column to calculate length for.
unitOfMeasureUnitOfMeasureThe unit of measure for the length result (e.g., meters, kilometers, miles).
SpatialLength(Geometry)
Initializes a new instance of ST_Length with a geometry literal.
public SpatialLength(Geometry geometry)
Parameters
geometryGeometryThe geometry to calculate length for.
SpatialLength(Geography, UnitOfMeasure)
Initializes a new instance of ST_Length with a geography literal and unit of measure.
public SpatialLength(Geography geography, UnitOfMeasure unitOfMeasure)
Parameters
geographyGeographyThe geography to calculate length for.
unitOfMeasureUnitOfMeasureThe unit of measure for the length result.
SpatialLength(Function)
Initializes a new instance of ST_Length for a function result (e.g., from another spatial operation).
public SpatialLength(Function function)
Parameters
functionFunctionThe function that returns a geometry/geography to calculate length for.
SpatialLength(Function, UnitOfMeasure)
Initializes a new instance of ST_Length for a function result with a unit of measure.
public SpatialLength(Function function, UnitOfMeasure unitOfMeasure)
Parameters
functionFunctionThe function that returns a geography to calculate length for.
unitOfMeasureUnitOfMeasureThe unit of measure for the length result.