Line
Description:
A line in space.
A line in space.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.GeometryObject
Autodesk.Revit.DB.Curve
Autodesk.Revit.DB.Line
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.GeometryObject
Autodesk.Revit.DB.Curve
Autodesk.Revit.DB.Line
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| CreateBound(XYZ, XYZ) | Line | Creates a new instance of a bound linear curve. | |
| CreateUnbound(XYZ, XYZ) | Line | Creates a new instance of an unbound linear curve. | |
| Dispose() | None | Causes the object to release immediately any resources it may be utilizing. | APIObject |
| op_Equality(GeometryObject, GeometryObject) | bool | Determines whether two GeometryObjects are the same. | GeometryObject |
| Equals(Object) | bool | Determines whether the specified is equal to the current . | GeometryObject |
| GetHashCode() | int | Gets the integer value of the geometry object as hash code | GeometryObject |
| op_Inequality(GeometryObject, GeometryObject) | bool | Determines whether two GeometryObjects are different. | GeometryObject |
| Clone() | Curve | Returns a copy of this curve. | Curve |
| ComputeClosestPoints(Curve, Boolean, Boolean, Boolean, IList<ClosestPointsPairBetweenTwoCurves>) | None | Find the closest points between two curves. Closest points mean closest pairs of points, each pair consisting of a point on this, say P1, and a point on other curve, say P2. P1 and P2 are closest locally. | Curve |
| ComputeDerivatives(Double, Boolean) | Transform | Returns the vectors describing the curve at the specified parameter. | Curve |
| ComputeNormalizedParameter(Double) | double | Computes the normalized curve parameter from the raw parameter. | Curve |
| ComputeRawParameter(Double) | double | Computes the raw parameter from the normalized parameter. | Curve |
| CreateOffset(Double, XYZ) | The new curve. | Creates a new curve that is an offset of the existing curve. | Curve |
| CreateReversed() | The new curve. | Creates a new curve with the opposite orientation of the existing curve. | Curve |
| CreateTransformed(Transform) | The new curve. | Crates a new instance of a curve as a transformation of this curve. | Curve |
| Distance(XYZ) | double | Returns the shortest distance from the specified point to this curve. | Curve |
| Evaluate(Double, Boolean) | XYZ | Evaluates and returns the point that matches a parameter along the curve. | Curve |
| GetEndParameter(Int32) | The parameter. | Returns the raw parameter value at the start or end of this curve. | Curve |
| GetEndPoint(Int32) | The curve endpoint. | Returns the 3D point at the start or end of this curve. | Curve |
| GetEndPointReference(Int32) | nullNothingnullptr | Returns a stable reference to the start point or the end point of the curve. | Curve |
| Intersect(Curve) | SetComparisonResult | Calculates the intersection of this curve with the specified curve. | Curve |
| Intersect(Curve, IntersectionResultArray%) | SetComparisonResult | Calculates the intersection of this curve with the specified curve and returns the intersection results. | Curve |
| IsInside(Double) | bool | Indicates whether the specified parameter value is within this curve's bounds. | Curve |
| IsInside(Double, Int32%) | bool | Indicates whether the specified parameter value is within this curve's bounds and outputs the end index. | Curve |
| MakeBound(Double, Double) | None | Changes the bounds of this curve to the specified values. | Curve |
| MakeUnbound() | None | Makes this curve unbound. | Curve |
| Project(XYZ) | IntersectionResult | Projects the specified point on this curve. | Curve |
| SetGraphicsStyleId(ElementId) | None | Sets the graphics style id for this curve. | Curve |
| Tessellate() | IList<XYZ> | Valid only if the curve is bound. Returns a polyline approximation to the curve. | Curve |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Direction | XYZ | Returns the direction of the line. | |
| Origin | XYZ | Returns the origin of the line. | |
| IsReadOnly | bool | Identifies if the object is read-only or modifiable. | APIObject |
| GraphicsStyleId | ElementId | The ElementId of the GeometryObject's GraphicsStyle | GeometryObject |
| Id | int | A unique integer identifying the GeometryObject in its associated non view-specific GeometryElement. | GeometryObject |
| IsElementGeometry | bool | Indicates whether this geometry is obtained directly from an Element. | GeometryObject |
| Visibility | Visibility | The visibility. | GeometryObject |
| ApproximateLength | double | The approximate length of the curve. | Curve |
| IsBound | bool | Describes whether the parameter of the curve is restricted to a particular interval. | Curve |
| IsClosed | bool | Describes whether the curve is closed. | Curve |
| IsCyclic | bool | The boolean value that indicates whether this curve is cyclic. | Curve |
| Length | double | The exact length of the curve. | Curve |
| Period | double | The period of this curve. | Curve |
| Reference | Reference | Returns a stable reference to the curve. | Curve |