RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Outline

Outline.Contains

Method
Description:
Determine if this Outline contains the specified point to within a tolerance.
Remarks:
If the tolerance is positive, the point may lie up to the tolerance amount outside the outline in each coordinate. If the tolerance is negative, the point must lie at least the tolerance amount inside the outline in each coordinate.
Syntax
public bool Contains(
	XYZ point,
	double tolerance
)
Parameters
Parameter Type Description
point XYZ The point to test for containment.
tolerance Double The tolerance to use when determining whether the point is contained. Defaults to zero.
Return Value
Type Description
Boolean True if this outline contains the given point, or false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null