Outline
Description:
Outline is a generic object that provides a bounding box/bounding outline. It supports operations to scale and transform. It also supports intersections and contains operations.
Outline is a generic object that provides a bounding box/bounding outline. It supports operations to scale and transform. It also supports intersections and contains operations.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.Outline
System.Object
Autodesk.Revit.DB.Outline
public class Outline : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Outline(Outline) | None | Constructs a new copy of the input Outline object. |
| Outline(XYZ, XYZ) | None | Constructor that uses a minimum and maximum XYZ point to initialize the outline. |
| Name | Return Type | Description |
|---|---|---|
| AddPoint(XYZ) | None | Adds a point to the bounding box, expanding it if the point is outside the existing boundary. |
| Contains(XYZ, Double) | bool | Determine if this Outline contains the specified point to within a tolerance. |
| ContainsOtherOutline(Outline, Double) | bool | Determine if this Outline contains another Outline to within tolerance. |
| Dispose() | None | Releases all resources used by the |
| GetDiagonalLength() | double | Get the length of outline's diagonal. If called on empty outline, 0. is returned |
| Intersects(Outline, Double) | bool | Determine if this Outline intersects the input Outline to within a specified tolerance. |
| IsScaleValid(Double) | bool | Checks if given scale is valid. Should be greater than zero. |
| Scale(Double) | None | Scales the bounding box by given scale. |
| Name | Return Type | Description |
|---|---|---|
| IsEmpty | bool | Identifies if the outline represents an empty outline. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| MaximumPoint | XYZ | The maximum point of the bounding box. |
| MinimumPoint | XYZ | The minimum point of the bounding box. |