/// <summary> /// The length of the chord connecting the start and end limits. /// </summary> /// <param name="relativePositionStart">Relative position along the path at which the length measurement is started.</param> /// <param name="relativePositionEnd">Relative position along the path at which the length measurement is ended.</param> /// <returns>System.Double.</returns> public override double ChordLengthBetween(double relativePositionStart, double relativePositionEnd) { return(LinearCurve.Length(CoordinateCartesian(relativePositionStart), CoordinateCartesian(relativePositionEnd))); }
/// <summary> /// The length of the chord connecting the start and end limits. /// </summary> /// <returns>System.Double.</returns> public override double ChordLength() { return(LinearCurve.Length(Range.Start.Limit, Range.End.Limit)); }