src/Elements/Geometry/Transform.cs
/// <summary>
/// Create a transform that is oriented along 
/// a curve at parameter t. The transform's +z axis will align with 
/// the +z world axis, and the +x axis will align with the tangent
/// of the curve.
/// </summary>
/// <param name="curve">The curve along which to orient the transform.</param>
/// <param name="t">A parameter value between 0.0 and 1.0.</param>
/// <param name="up"></param>
Create a transform that is oriented along
a curve at parameter t. The transform's +z axis will align with
the +z world axis, and the +x axis will align with the tangent
of the curve.
Create a transform that is oriented along a curve at parameter t . The transform ' s + z axis will align with the + z world axis and the + x axis will align with the tangent of the curve .
public static Transform CreateOrientedAlongCurve(Curve curve, double t, Vector3 up = default(Vector3))
        {
            var temp = curve.TransformAt(t);
            return new Transform(temp.Origin, temp.ZAxis.Negate(), temp.XAxis.Negate(), Vector3.ZAxis);
        }
public static Transform CreateOrientedAlongCurve ( Curve curve , double t , Vector3 up = default ( Vector3 ) ) { var temp = curve . TransformAt ( t ) ; return new Transform ( temp . Origin , temp . ZAxis . Negate ( ) , temp . XAxis . Negate ( ) , Vector3 . ZAxis ) ; }
Create a transform that is oriented along
a curve at parameter t. The transform's +z axis will align with
the +z world axis, and the +x axis will align with the tangent
of the curve.
Create a transform that is oriented along a curve at parameter t . The transform ' s + z axis will align with the + z world axis and the + x axis will align with the tangent of the curve .
curve
Curve
The curve along which to orient the transform.
The curve along which to orient the transform .
t
double
None
up
Vector3
None