Click or drag to resize

CurveCreateCatenaryCurveFromParameter Method

Generate a catenary curve from catenary parameter.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Curve CreateCatenaryCurveFromParameter(
	Point3d catenary_start,
	Point3d catenary_end,
	Vector3d axis_dir,
	double catenary_parameter,
	bool bSmooth,
	int point_count,
	out Point3d apex_out,
	out double parameter_out,
	out double length_out,
	out double max_deviation_out
)

Parameters

catenary_start
Type: Rhino.GeometryPoint3d
catenary start point
catenary_end
Type: Rhino.GeometryPoint3d
catenary end point
axis_dir
Type: Rhino.GeometryVector3d
catenary axis/gravity direction
catenary_parameter
Type: SystemDouble
catenary parameter
bSmooth
Type: SystemBoolean
if false generates polyline output
point_count
Type: SystemInt32
number of points in the output curve
apex_out
Type: Rhino.GeometryPoint3d
apex point of the output catenary curve
parameter_out
Type: SystemDouble
output catenary parameter "a" in the formula y = a * cosh(x/a)
length_out
Type: SystemDouble
output catenary length
max_deviation_out
Type: SystemDouble
sampled max deviation between the output curve and the analytic catenary

Return Value

Type: Curve
A catenary Curve or null if unsuccessful
See Also