RVTDocs.com

TopographySurface.IsValidRegion

Method
Description:
Identify whether the points can construct a valid region for a topography surface.
Syntax
public static bool IsValidRegion(
	IList<XYZ> points
)
Parameters
Parameter Type Description
points IList The points set to be checked.
Return Value
Type Description
Boolean True if the size of points is not less than 3 and the points are not collinear after projecting to XY plane, that is, ignoring the elevation.
Exceptions
Exception Condition
ArgumentException There are no points in the input points set.
ArgumentNullException A non-optional argument was null