CrossSectionDataGetCrossSection(ILocation, String, Boolean) Method
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.CrossSectionModuleAssembly: DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 24.0.0.0 (11.1.1.1111)
public ICrossSection GetCrossSection(
ILocation location,
string topoId,
bool extrapolate
)
- location ILocation
- The location to look for
- topoId String
- The topo id to look for
- extrapolate Boolean
- 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
ICrossSectionThe found cross section, or null if none found.
String comparisons are/ case-insensitive and culture-invariant.