Share

TopographySurface.ContainsPoint Method

Identifies whether the given point exists in the topography surface.


Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public bool ContainsPoint(
	XYZ point
)

Parameters

point  XYZ
The point to be checked.

Return Value

Boolean
True if the input point exists in the topography surface, otherwise false.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

Remarks

The given point will be evaluated in XYZ. If a point matches the XY location, but not the elevation, this function still returns false. This applies to TopographySurface and SiteSubRegion elements.

See Also

Reference

Was this information helpful?