|
static T | Cross< T > (this Vector< T > a, Vector< T > b) |
| Computes the "cross product" of a pair of vectors. More...
|
|
static Vector< T > | Rot90< T > (this Vector< T > self) |
| Rotates a vector 90 degrees. More...
|
|
static T | Quadrance< T > (this Vector< T > self) |
| Gets the square of the length of the vector. More...
|
|
static T | Length< T > (this Vector< T > self) |
| Gets the length of the vector. More...
|
|
static double | Angle< T > (this Vector< T > self) |
| Gets the angle from 0 to 2*PI of the vector, where (1,0) has angle 0 and (0,1) has angle PI/2. More...
|
|
static bool | Normalize< T > (this Vector< T > self) |
|
static Vector< T > | Normalized< T > (this Vector< T > self) |
|
static Vector< T > | MulDiv< T > (this Vector< T > self, T mul, T div) |
|
static Vector< T > | Vector< T > (this LineSegment< T > seg) |
| Returns the vector from A to B (seg.B - seg.A) More...
|
|
static Point< T > | HalfwayTo< T > (this Point< T > a, Point< T > b) |
| Returns the midpoint between A and B ((a + b) / 2) More...
|
|
static System.Drawing.Point | AsBCL (this Point< int > p) |
| Converts a Loyc point to BCL type. More...
|
|
static System.Drawing.Point | AsBCL (this Vector< int > p) |
| Converts a Loyc vector to BCL type. More...
|
|
static System.Drawing.PointF | AsBCL (this Point< float > p) |
| Converts a Loyc point to BCL type. More...
|
|
static System.Drawing.PointF | AsBCL (this Vector< float > p) |
| Converts a Loyc vector to BCL type. More...
|
|
static System.Windows.Point | AsBCL (this Point< double > p) |
| Converts a Loyc point to BCL type. More...
|
|
static System.Windows.Vector | AsBCL (this Vector< double > p) |
| Converts a Loyc vector to BCL type. More...
|
|
static Point< int > | AsLoyc (this System.Drawing.Point p) |
| Converts a BCL point to a Loyc point. More...
|
|
static Point< float > | AsLoyc (this System.Drawing.PointF p) |
| Converts a BCL point to a Loyc point. More...
|
|
static Point< double > | AsLoyc (this System.Windows.Point p) |
| Converts a BCL point to a Loyc point. More...
|
|
static Vector< double > | AsLoyc (this System.Windows.Vector p) |
| Converts a BCL Vector to a Loyc point. More...
|
|
static Vector< int > | AsLoycVector (this System.Drawing.Point p) |
| Converts a BCL point to a Loyc vector. More...
|
|
static Vector< float > | AsLoycVector (this System.Drawing.PointF p) |
| Converts a BCL point to a Loyc vector. More...
|
|
static Vector< double > | AsLoycVector (this System.Windows.Point p) |
| Converts a BCL point to a Loyc vector. More...
|
|
static LineSegment< T > | To< T > (this Point< T > a, Point< T > b) |
| Constructs a LineSegment{T} from two points. More...
|
|
static Vector< T > | Abs< T > (this Vector< T > v) |
| Gets the absolute value of vector's individual components. More...
|
|
static Vector3< T > | Abs< T > (this Vector3< T > v) |
| Gets the absolute value of vector's individual components. More...
|
|
static PointF | Transform (this System.Drawing.Drawing2D.Matrix matrix, PointF point) |
|
static Point< float > | Transform (this System.Drawing.Drawing2D.Matrix matrix, Point< float > point) |
|
static Vector< float > | Transform (this System.Drawing.Drawing2D.Matrix matrix, Vector< float > vec) |
|
static Point< T > | Add< T > (this Point< T > a, Vector< T > b) |
|
static Point< T > | Add< T > (this Vector< T > a, Point< T > b) |
|
static Vector< T > | Add< T > (this Vector< T > a, Vector< T > b) |
|
static Vector< T > | Sub< T > (this Point< T > a, Point< T > b) |
|
static Vector< T > | Sub< T > (this Vector< T > a, Vector< T > b) |
|
static Point< T > | Sub< T > (this Point< T > a, Vector< T > b) |
|
static Vector< T > | Mul< T > (this Vector< T > p, T factor) |
|
static Point< T > | Mul< T > (this Point< T > p, T factor) |
|
static Vector< T > | Div< T > (this Vector< T > p, T factor) |
|
static Point< T > | Div< T > (this Point< T > p, T factor) |
|
static Vector< T > | Shl< T > (this Vector< T > p, int amt) |
|
static Vector< T > | Shr< T > (this Vector< T > p, int amt) |
|
static Point< T > | Shl< T > (this Point< T > p, int amt) |
|
static Point< T > | Shr< T > (this Point< T > p, int amt) |
|
static Vector3< T > | Add< T > (this Vector3< T > a, Vector3< T > b) |
|
static Point3< T > | Add< T > (this Point3< T > a, Vector3< T > b) |
|
static Point3< T > | Add< T > (this Vector3< T > a, Point3< T > b) |
|
static Vector3< T > | Sub< T > (this Vector3< T > a, Vector3< T > b) |
|
static Vector3< T > | Sub< T > (this Point3< T > a, Point3< T > b) |
|
static Point3< T > | Sub< T > (this Point3< T > a, Vector3< T > b) |
|
static Vector3< T > | Mul< T > (this Vector3< T > p, T factor) |
|
static Point3< T > | Mul< T > (this Point3< T > p, T factor) |
|
static Vector3< T > | Div< T > (this Vector3< T > p, T factor) |
|
static Point3< T > | Div< T > (this Point3< T > p, T factor) |
|
static Vector3< T > | Shl< T > (this Vector3< T > p, int amt) |
|
static Vector3< T > | Shr< T > (this Vector3< T > p, int amt) |
|
static Point3< T > | Shl< T > (this Point3< T > p, int amt) |
|
static Point3< T > | Shr< T > (this Point3< T > p, int amt) |
|
static Vector | Add (this Vector a, Vector b) |
|
static Point | Add (this Point a, Vector b) |
|
static Point | Add (this Vector a, Point b) |
|
static Vector | Sub (this Vector a, Vector b) |
|
static Vector | Sub (this Point a, Point b) |
|
static Point | Sub (this Point a, Vector b) |
|
static Vector | Mul (this Vector p, T factor) |
|
static Point | Mul (this Point p, T factor) |
|
static Vector | Div (this Vector p, T factor) |
|
static Point | Div (this Point p, T factor) |
|
static Vector | Shl (this Vector p, int amt) |
|
static Vector | Shr (this Vector p, int amt) |
|
static Point | Shl (this Point p, int amt) |
|
static Point | Shr (this Point p, int amt) |
|
static Vector3 | Add (this Vector3 a, Vector3 b) |
|
static Point3 | Add (this Point3 a, Vector3 b) |
|
static Point3 | Add (this Vector3 a, Point3 b) |
|
static Vector3 | Sub (this Vector3 a, Vector3 b) |
|
static Vector3 | Sub (this Point3 a, Point3 b) |
|
static Vector3 | Mul (this Vector3 p, T factor) |
|
static Point3 | Mul (this Point3 p, T factor) |
|
static Vector3 | Div (this Vector3 p, T factor) |
|
static Point3 | Div (this Point3 p, T factor) |
|
static Vector3 | Shl (this Vector3 p, int amt) |
|
static Vector3 | Shr (this Vector3 p, int amt) |
|
static Point3 | Shl (this Point3 p, int amt) |
|
static Point3 | Shr (this Point3 p, int amt) |
|
static T | Dot (this Vector a, Vector b) |
| Dot product. a*b equals lhs.Length*rhs.Length*Cos(theta) if theta is the angle between two vectors. More...
|
|
static T | Dot (this Vector3 a, Vector3 b) |
|
static T | Cross (this Vector a, Vector b) |
| Computes the "cross product" of a pair of 2D vectors. More...
|
|
static Vector3 | Cross (this Vector3 a, Vector3 b) |
| Computes the cross product of a pair of 3D vectors. More...
|
|
static Vector | Rot90 (this Vector a) |
| Rotates a vector 90 degrees. More...
|
|
static Vector | Neg (this Vector a) |
| Reverses a vector. More...
|
|
static Vector3 | Neg (this Vector3 a) |
| Reverses a vector. More...
|
|
static T | Quadrance (this Vector v) |
| Gets the square of the length of the vector. More...
|
|
static T | Quadrance (this Vector3 v) |
|
static T | Length (this Vector v) |
| Gets the length of the vector. More...
|
|
static T | Length (this Vector3 v) |
|
static double | Angle (this Vector v) |
| Gets the angle from 0 to 2*PI of the vector, where (1,0) has angle 0 and (0,1) has angle PI/2. More...
|
|
static double | AngleDeg (this Vector v) |
| Gets the angle from 0 to 360 of the vector, where (1,0) has angle 0 and (0,1) has angle 90. More...
|
|
static Vector | MulDiv (this Vector v, T mul, T div) |
|
static Vector3 | MulDiv (this Vector3 v, T mul, T div) |
|
static Vector | Vector (this LineSegment seg) |
| Returns seg.B - seg.A. More...
|
|
static Vector | Abs (this Vector v) |
| Gets the absolute value of the vector's individual components. More...
|
|
static Vector3 | Abs (this Vector3 v) |
| Gets the absolute value of the vector's individual components. More...
|
|
static Vector< T > | PolarToVector (T magnitude, double radians) |
|
static Point< T > | PolarToPoint (T magnitude, double radians) |
|
static IListSource< Point > | ComputeConvexHull (IEnumerable< Point > points) |
| Computes the convex hull of a polygon, in clockwise order in a Y-up coordinate system (counterclockwise in a Y-down coordinate system). More...
|
|
static IListSource< Point > | ComputeConvexHull (List< Point > points, bool sortInPlace) |
|
static Vector | Add (this Vector a, Vector b) |
|
static Point | Add (this Point a, Vector b) |
|
static Point | Add (this Vector a, Point b) |
|
static Vector | Sub (this Vector a, Vector b) |
|
static Vector | Sub (this Point a, Point b) |
|
static Point | Sub (this Point a, Vector b) |
|
static Vector | Mul (this Vector p, T factor) |
|
static Point | Mul (this Point p, T factor) |
|
static Vector | Div (this Vector p, T factor) |
|
static Point | Div (this Point p, T factor) |
|
static Vector | Shl (this Vector p, int amt) |
|
static Vector | Shr (this Vector p, int amt) |
|
static Point | Shl (this Point p, int amt) |
|
static Point | Shr (this Point p, int amt) |
|
static Vector3 | Add (this Vector3 a, Vector3 b) |
|
static Point3 | Add (this Point3 a, Vector3 b) |
|
static Point3 | Add (this Vector3 a, Point3 b) |
|
static Vector3 | Sub (this Vector3 a, Vector3 b) |
|
static Vector3 | Sub (this Point3 a, Point3 b) |
|
static Vector3 | Mul (this Vector3 p, T factor) |
|
static Point3 | Mul (this Point3 p, T factor) |
|
static Vector3 | Div (this Vector3 p, T factor) |
|
static Point3 | Div (this Point3 p, T factor) |
|
static Vector3 | Shl (this Vector3 p, int amt) |
|
static Vector3 | Shr (this Vector3 p, int amt) |
|
static Point3 | Shl (this Point3 p, int amt) |
|
static Point3 | Shr (this Point3 p, int amt) |
|
static T | Dot (this Vector a, Vector b) |
| Dot product. a*b equals lhs.Length*rhs.Length*Cos(theta) if theta is the angle between two vectors. More...
|
|
static T | Dot (this Vector3 a, Vector3 b) |
|
static T | Cross (this Vector a, Vector b) |
| Computes the "cross product" of a pair of 2D vectors. More...
|
|
static Vector3 | Cross (this Vector3 a, Vector3 b) |
| Computes the cross product of a pair of 3D vectors. More...
|
|
static Vector | Rot90 (this Vector a) |
| Rotates a vector 90 degrees. More...
|
|
static Vector | Neg (this Vector a) |
| Reverses a vector. More...
|
|
static Vector3 | Neg (this Vector3 a) |
| Reverses a vector. More...
|
|
static T | Quadrance (this Vector v) |
| Gets the square of the length of the vector. More...
|
|
static T | Quadrance (this Vector3 v) |
|
static T | Length (this Vector v) |
| Gets the length of the vector. More...
|
|
static T | Length (this Vector3 v) |
|
static double | Angle (this Vector v) |
| Gets the angle from 0 to 2*PI of the vector, where (1,0) has angle 0 and (0,1) has angle PI/2. More...
|
|
static double | AngleDeg (this Vector v) |
| Gets the angle from 0 to 360 of the vector, where (1,0) has angle 0 and (0,1) has angle 90. More...
|
|
static Vector | Normalized (this Vector v) |
|
static Vector3 | Normalized (this Vector3 v) |
|
static Vector | MulDiv (this Vector v, T mul, T div) |
|
static Vector3 | MulDiv (this Vector3 v, T mul, T div) |
|
static Vector | Vector (this LineSegment seg) |
| Returns seg.B - seg.A. More...
|
|
static Vector | Abs (this Vector v) |
| Gets the absolute value of the vector's individual components. More...
|
|
static Vector3 | Abs (this Vector3 v) |
| Gets the absolute value of the vector's individual components. More...
|
|
static Vector< T > | PolarToVector (T magnitude, double radians) |
|
static Point< T > | PolarToPoint (T magnitude, double radians) |
|
static IListSource< Point > | ComputeConvexHull (IEnumerable< Point > points) |
| Computes the convex hull of a polygon, in clockwise order in a Y-up coordinate system (counterclockwise in a Y-down coordinate system). More...
|
|
static IListSource< Point > | ComputeConvexHull (List< Point > points, bool sortInPlace) |
|
static Vector | Add (this Vector a, Vector b) |
|
static Point | Add (this Point a, Vector b) |
|
static Point | Add (this Vector a, Point b) |
|
static Vector | Sub (this Vector a, Vector b) |
|
static Vector | Sub (this Point a, Point b) |
|
static Point | Sub (this Point a, Vector b) |
|
static Vector | Mul (this Vector p, T factor) |
|
static Point | Mul (this Point p, T factor) |
|
static Vector | Div (this Vector p, T factor) |
|
static Point | Div (this Point p, T factor) |
|
static Vector | Shl (this Vector p, int amt) |
|
static Vector | Shr (this Vector p, int amt) |
|
static Point | Shl (this Point p, int amt) |
|
static Point | Shr (this Point p, int amt) |
|
static Vector3 | Add (this Vector3 a, Vector3 b) |
|
static Point3 | Add (this Point3 a, Vector3 b) |
|
static Point3 | Add (this Vector3 a, Point3 b) |
|
static Vector3 | Sub (this Vector3 a, Vector3 b) |
|
static Vector3 | Sub (this Point3 a, Point3 b) |
|
static Vector3 | Mul (this Vector3 p, T factor) |
|
static Point3 | Mul (this Point3 p, T factor) |
|
static Vector3 | Div (this Vector3 p, T factor) |
|
static Point3 | Div (this Point3 p, T factor) |
|
static Vector3 | Shl (this Vector3 p, int amt) |
|
static Vector3 | Shr (this Vector3 p, int amt) |
|
static Point3 | Shl (this Point3 p, int amt) |
|
static Point3 | Shr (this Point3 p, int amt) |
|
static T | Dot (this Vector a, Vector b) |
| Dot product. a*b equals lhs.Length*rhs.Length*Cos(theta) if theta is the angle between two vectors. More...
|
|
static T | Dot (this Vector3 a, Vector3 b) |
|
static T | Cross (this Vector a, Vector b) |
| Computes the "cross product" of a pair of 2D vectors. More...
|
|
static Vector3 | Cross (this Vector3 a, Vector3 b) |
| Computes the cross product of a pair of 3D vectors. More...
|
|
static Vector | Rot90 (this Vector a) |
| Rotates a vector 90 degrees. More...
|
|
static Vector | Neg (this Vector a) |
| Reverses a vector. More...
|
|
static Vector3 | Neg (this Vector3 a) |
| Reverses a vector. More...
|
|
static T | Quadrance (this Vector v) |
| Gets the square of the length of the vector. More...
|
|
static T | Quadrance (this Vector3 v) |
|
static T | Length (this Vector v) |
| Gets the length of the vector. More...
|
|
static T | Length (this Vector3 v) |
|
static double | Angle (this Vector v) |
| Gets the angle from 0 to 2*PI of the vector, where (1,0) has angle 0 and (0,1) has angle PI/2. More...
|
|
static double | AngleDeg (this Vector v) |
| Gets the angle from 0 to 360 of the vector, where (1,0) has angle 0 and (0,1) has angle 90. More...
|
|
static Vector | Normalized (this Vector v) |
|
static Vector3 | Normalized (this Vector3 v) |
|
static Vector | MulDiv (this Vector v, T mul, T div) |
|
static Vector3 | MulDiv (this Vector3 v, T mul, T div) |
|
static Vector | Vector (this LineSegment seg) |
| Returns seg.B - seg.A. More...
|
|
static Vector | Abs (this Vector v) |
| Gets the absolute value of the vector's individual components. More...
|
|
static Vector3 | Abs (this Vector3 v) |
| Gets the absolute value of the vector's individual components. More...
|
|
static Vector< T > | PolarToVector (T magnitude, double radians) |
|
static Point< T > | PolarToPoint (T magnitude, double radians) |
|
static IListSource< Point > | ComputeConvexHull (IEnumerable< Point > points) |
| Computes the convex hull of a polygon, in clockwise order in a Y-up coordinate system (counterclockwise in a Y-down coordinate system). More...
|
|
static IListSource< Point > | ComputeConvexHull (List< Point > points, bool sortInPlace) |
|