Outline Class

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
SystemObject
  Autodesk.Revit.DBOutline

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class Outline : IDisposable

The Outline type exposes the following members.

Constructors
 NameDescription
Public methodOutline(Outline) Constructs a new copy of the input Outline object.
Public methodOutline(XYZ, XYZ) Constructor that uses a minimum and maximum XYZ point to initialize the outline.
Top
Properties
 NameDescription
Public propertyIsEmpty Identifies if the outline represents an empty outline.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyMaximumPoint The maximum point of the bounding box.
Public propertyMinimumPoint The minimum point of the bounding box.
Top
Methods
 NameDescription
Public methodAddPoint Adds a point to the bounding box, expanding it if the point is outside the existing boundary.
Public methodContains Determine if this Outline contains the specified point to within a tolerance.
Public methodContainsOtherOutline Determine if this Outline contains another Outline to within tolerance.
Public methodDisposeReleases all resources used by the Outline
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetDiagonalLength Get the length of outline's diagonal. If called on empty outline, 0. is returned
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIntersects Determine if this Outline intersects the input Outline to within a specified tolerance.
Public methodIsScaleValid Checks if given scale is valid. Should be greater than zero.
Public methodScale Scales the bounding box by given scale.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also