Curve
Description:
A parametric curve.
A parametric curve.
Remarks:
The concrete curves are defined by parametric equations. If the curve is bound, it is only defined for an interval in parameterization. Otherwise, it is defined for all values of the parameter.
The concrete curves are defined by parametric equations. If the curve is bound, it is only defined for an interval in parameterization. Otherwise, it is defined for all values of the parameter.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.GeometryObject
Autodesk.Revit.DB.Curve
Autodesk.Revit.DB.Arc
Autodesk.Revit.DB.CylindricalHelix
Autodesk.Revit.DB.Ellipse
Autodesk.Revit.DB.HermiteSpline
Autodesk.Revit.DB.Line
Autodesk.Revit.DB.NurbSpline
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.GeometryObject
Autodesk.Revit.DB.Curve
Autodesk.Revit.DB.Arc
Autodesk.Revit.DB.CylindricalHelix
Autodesk.Revit.DB.Ellipse
Autodesk.Revit.DB.HermiteSpline
Autodesk.Revit.DB.Line
Autodesk.Revit.DB.NurbSpline
public class Curve : GeometryObject
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Clone() | Curve | Returns a copy of this 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. | |
| ComputeDerivatives(Double, Boolean) | Transform | Returns the vectors describing the curve at the specified parameter. | |
| ComputeNormalizedParameter(Double) | double | Computes the normalized curve parameter from the raw parameter. | |
| ComputeRawParameter(Double) | double | Computes the raw parameter from the normalized parameter. | |
| CreateOffset(Double, XYZ) | The new curve. | Creates a new curve that is an offset of the existing curve. | |
| CreateReversed() | The new curve. | Creates a new curve with the opposite orientation of the existing curve. | |
| CreateTransformed(Transform) | The new curve. | Crates a new instance of a curve as a transformation of this curve. | |
| Distance(XYZ) | double | Returns the shortest distance from the specified point to this curve. | |
| Evaluate(Double, Boolean) | XYZ | Evaluates and returns the point that matches a parameter along the curve. | |
| GetEndParameter(Int32) | The parameter. | Returns the raw parameter value at the start or end of this curve. | |
| GetEndPoint(Int32) | The curve endpoint. | Returns the 3D point at the start or end of this curve. | |
| GetEndPointReference(Int32) | nullNothingnullptr | Returns a stable reference to the start point or the end point of the curve. | |
| Intersect(Curve) | SetComparisonResult | Calculates the intersection of this curve with the specified curve. | |
| Intersect(Curve, IntersectionResultArray%) | SetComparisonResult | Calculates the intersection of this curve with the specified curve and returns the intersection results. | |
| IsInside(Double) | bool | Indicates whether the specified parameter value is within this curve's bounds. | |
| IsInside(Double, Int32%) | bool | Indicates whether the specified parameter value is within this curve's bounds and outputs the end index. | |
| MakeBound(Double, Double) | None | Changes the bounds of this curve to the specified values. | |
| MakeUnbound() | None | Makes this curve unbound. | |
| Project(XYZ) | IntersectionResult | Projects the specified point on this curve. | |
| SetGraphicsStyleId(ElementId) | None | Sets the graphics style id for this curve. | |
| Tessellate() | IList<XYZ> | Valid only if the curve is bound. Returns a polyline approximation to the 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 |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| ApproximateLength | double | The approximate length of the curve. | |
| IsBound | bool | Describes whether the parameter of the curve is restricted to a particular interval. | |
| IsClosed | bool | Describes whether the curve is closed. | |
| IsCyclic | bool | The boolean value that indicates whether this curve is cyclic. | |
| Length | double | The exact length of the curve. | |
| Period | double | The period of this curve. | |
| Reference | Reference | Returns a stable reference to the curve. | |
| 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 |