LineSegment
An output node that represents a tessellated line segment.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.LineSegment
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class LineSegment : IDisposableThe LineSegment type exposes the following members.
Properties
Name
Description
Public Property
EndParameter
Parameter associated with the end point.
Public Property
EndPoint
End point of the line segment.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
LineProperties
Access to the line (pen) properties of the line
Public Property
StartParameter
Parameter associated with the start point.
Public Property
StartPoint
Start point of the line segment.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the LineSegment
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
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)
Remarks
See also:
OnLineSegment(LineSegment)
.