Gets the PVI in the collection closest to the given station and elevation.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public ProfilePVI GetPVIAt(
double station,
double elevation
) |
Visual Basic |
---|
Public Function GetPVIAt ( _
station As Double, _
elevation As Double _
) As ProfilePVI |
Visual C++ |
---|
public:
ProfilePVI^ GetPVIAt(
double station,
double elevation
) |
Parameters
- station
- Type: System..::..Double
Station value.
- elevation
- Type: System..::..Double
Elevation value.
Examples
CopyC#
1
2ProfilePVI oProfilePVI = oProfile.PVIs.GetPVIAt(1000, -70);
3ed.WriteMessage("PVI closest to station 1000 is at station: {0}", oProfilePVI.Station);
4
5oProfilePVI = oProfile.PVIs.AddPVI(607.4, -64.3);
6oProfilePVI.Elevation -= 2.0;
Exceptions
Exception | Condition |
---|
System..::..InvalidOperationException |
Thrown when ProfilePVICollection is an empty collection.
|
See Also