Share

IndexLine Class

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: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class IndexLine : IndexPrimitive

The IndexLine type exposes the following members.

Constructors

 NameDescription
Public methodIndexLine Constructs the line segment primitive.

Properties

 NameDescription
Public propertyIndex0 The index of the line segment's first vertex.
Public propertyIndex1 The index of the line segment's second vertex.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from IndexPrimitive)

Methods

 NameDescription
Public methodDispose
(Inherited from IndexPrimitive)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodStatic memberGetSizeInShortInts Gets the amount of storage that the primitive takes up in a buffer, measured in short integers.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?