Click or drag to resize

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
)

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: ICrossSection
The found cross section, or null if none found.
Remarks
String comparisons are/ case-insensitive and culture-invariant.
See Also