コード例 #1
0
ファイル: Operators.cs プロジェクト: sandrist/psi
 /// <summary>
 /// Computes the linear velocity of a coordinate system.
 /// </summary>
 /// <param name="source">The source stream of coordinate systems.</param>
 /// <param name="deliveryPolicy">An optional delivery policy parameter.</param>
 /// <param name="name">An optional name for the stream operator.</param>
 /// <returns>A stream containing the linear velocity of the specified point.</returns>
 public static IProducer <LinearVelocity3D?> GetLinearVelocity3D(this IProducer <CoordinateSystem> source, DeliveryPolicy <CoordinateSystem> deliveryPolicy = null, string name = nameof(GetLinearVelocity3D))
 => source.GetLinearVelocity3D(cs => cs?.Origin, deliveryPolicy, name);