Determine if this Outline contains the specified point to within a tolerance.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public bool Contains( XYZ point, double tolerance )
Parameters
- 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
BooleanTrue if this outline contains the given point, or false otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |