LocationCreateSpanAroundLocation Method |
Create a LocationSpan around the given location, that
goes startDist up and endDist down from the chainage of the location.
Span will go from location.Chainage-startDist to location.Chainage+endDist.
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public static ILocationSpan CreateSpanAroundLocation(
ILocation location,
double startDist,
double endDist
)
Public Shared Function CreateSpanAroundLocation (
location As ILocation,
startDist As Double,
endDist As Double
) As ILocationSpan
public:
static ILocationSpan^ CreateSpanAroundLocation(
ILocation^ location,
double startDist,
double endDist
)
Parameters
- location
- Type: DHI.Mike1D.GenericILocation
Location to make span around - startDist
- Type: SystemDouble
Distance from location in negative chainage direction (positive number) - endDist
- Type: SystemDouble
Distance from location in positive chainage direction (positive number)
Return Value
Type:
ILocationSpanSpan around location.
See Also