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

Outline.ContainsOtherOutline

Method
Description:
Determine if this Outline contains another Outline to within tolerance.
Remarks:
If the tolerance is positive, the other Outline may extend the tolerance distance outside of this Outline in each coordinate. If the tolerance is negative, the other Outline must lie at least the tolerance distance inside of this Outline in each coordinate to be a match.
Syntax
public bool ContainsOtherOutline(
	Outline otherOutline,
	double tolerance
)
Parameters
Parameter Type Description
otherOutline Outline The outline 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 outline, or false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null