TopographySurfaceContainsPoint Method

Identifies whether the given point exists in the topography surface.

Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
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