internal static List <Polyline2D> smethod_1( Polyline2D[] borders, Point2D reference, double angle, double distance, double[] dashPattern, bool fillInterior) { if (distance == 0.0) { throw new ArgumentException("Parameter distance must be unequal to 0."); } double x = System.Math.Cos(angle); double y = System.Math.Sin(angle); return(Class811.smethod_7(borders, reference, new Vector2D(-distance * y, distance * x), new Vector2D(x, y), dashPattern, fillInterior)); }
internal static List <Polyline2D> smethod_3( Polyline2D[] borders, Point2D reference, Vector2D offset, Vector2D direction, double[] dashPattern, bool fillInterior) { double length = direction.GetLength(); if (length == 0.0) { throw new ArgumentException("Parameter direction must be unequal to the (0, 0) vector."); } if (offset == Vector2D.Zero) { throw new ArgumentException("Parameter offset must be unequal to the (0, 0) vector."); } return(Class811.smethod_7(borders, reference, offset, direction / length, dashPattern, fillInterior)); }