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)

Definition

Namespace: DHI.Mike1D.CrossSectionModule
Assembly: DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public ICrossSection GetCrossSection(
	ILocation location,
	string topoId,
	bool extrapolate
)

Parameters

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

Return Value

ICrossSection
The found cross section, or null if none found.

Remarks

String comparisons are/ case-insensitive and culture-invariant.

See Also