IndexLine
A line segment primitive consisting of two indices.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.DirectContext3D.IndexPrimitive
Autodesk.Revit.DB.DirectContext3D.IndexLine
Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class IndexLine : IndexPrimitive
The IndexLine type exposes the following members.
Constructors
Name
Description
Public Method
IndexLine
Constructs the line segment primitive.
Properties
Name
Description
Public Property
Index0
The index of the line segment’s first vertex.
Public Property
Index1
The index of the line segment’s second vertex.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from IndexPrimitive)
Methods
Name
Description
Public Method
Dispose
(Inherited from IndexPrimitive)
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
Static Member
GetSizeInShortInts
Gets the amount of storage that the primitive takes up in a buffer, measured in short integers.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)