Share

CorridorState.SampleSection Method

Samples elevation along an existing surface.



Namespace: Autodesk.Civil.Runtime
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

public SampledSectionLinkCollection SampleSection(
	ObjectId surfaceId,
	ObjectId alignmentId,
	IPoint point1,
	IPoint point2
)

VB

Public Function SampleSection ( 
	surfaceId As ObjectId,
	alignmentId As ObjectId,
	point1 As IPoint,
	point2 As IPoint
) As SampledSectionLinkCollection

C++

public:
SampledSectionLinkCollection^ SampleSection(
	ObjectId surfaceId, 
	ObjectId alignmentId, 
	IPoint^ point1, 
	IPoint^ point2
)

Parameters

surfaceId  ObjectId
Target surface.
alignmentId  ObjectId
Source alignment.
point1  IPoint
Start sampling at this point.
point2  IPoint
End sampling at this point.

Return Value

SampledSectionLinkCollection
Returns a collection of links.

See Also

Reference

Was this information helpful?