public override double GetLength(double t0, double t1) { double a0 = this.GetAngle(t0); double a1 = this.GetAngle(t1); return(AngleUtils.Diff(a0, a1) * this.Radius); }
public static double AngleBetween(double aX, double aY, double bX, double bY, double cX, double cY) { double a1 = AngleBetween(bX, bY, aX, aY); double a2 = AngleBetween(bX, bY, cX, cY); return(AngleUtils.Diff(a1, a2)); }
// angle ABC public static double AngleBetween(Coordinate2 <double> a, Coordinate2 <double> b, Coordinate2 <double> c) { double a1 = AngleBetween(b, a); double a2 = AngleBetween(b, c); return(AngleUtils.Diff(a1, a2)); }
// angle ABC public static double AngleBetween(Point2 <double> a, Point2 <double> b, Point2 <double> c) { return(AngleUtils.Diff(AngleBetween(b, a), AngleBetween(b, c))); }