CrossSectionDataGetCrossSection Method (ILocation, String, Boolean) |
Get a cross section for a route location, interpolated if none exists
all the location. Returns null if a required interpolation is not possible.
Processed data can be found in 2 different ways (see below)
Namespace:
DHI.Mike1D.CrossSectionModule
Assembly:
DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public ICrossSection GetCrossSection(
ILocation location,
string topoId,
bool extrapolate
)
Public Function GetCrossSection (
location As ILocation,
topoId As String,
extrapolate As Boolean
) As ICrossSection
public:
ICrossSection^ GetCrossSection(
ILocation^ location,
String^ topoId,
bool extrapolate
)
Parameters
- location
- Type: DHI.Mike1D.GenericILocation
The location to look for - topoId
- Type: SystemString
The topo id to look for - extrapolate
- Type: SystemBoolean
Flag specifying whether to return nearest cross section (false) or to return an extrapolated cross section (copy with new location) from the nearest cross section
Return Value
Type:
ICrossSectionThe found cross section, or null if none found.
Remarks String comparisons are/ case-insensitive and culture-invariant.
See Also