2022 Class
Changes 0
C

Line

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