CurveCreateArcBlend Method |
Creates a polycurve consisting of two tangent arc segments that connect two points and two directions.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 6.1
Syntax public static Curve CreateArcBlend(
Point3d startPt,
Vector3d startDir,
Point3d endPt,
Vector3d endDir,
double controlPointLengthRatio
)
Public Shared Function CreateArcBlend (
startPt As Point3d,
startDir As Vector3d,
endPt As Point3d,
endDir As Vector3d,
controlPointLengthRatio As Double
) As Curve
Parameters
- startPt
- Type: Rhino.GeometryPoint3d
Start of the arc blend curve. - startDir
- Type: Rhino.GeometryVector3d
Start direction of the arc blend curve. - endPt
- Type: Rhino.GeometryPoint3d
End of the arc blend curve. - endDir
- Type: Rhino.GeometryVector3d
End direction of the arc blend curve. - controlPointLengthRatio
- Type: SystemDouble
The ratio of the control polygon lengths of the two arcs. Note, a value of 1.0
means the control polygon lengths for both arcs will be the same.
Return Value
Type:
CurveThe arc blend curve, or null on error.
See Also