¡@

Home 

c# Programming Glossary: p1.y

How to Zip one IEnumerable with itself

http://stackoverflow.com/questions/2768834/how-to-zip-one-ienumerable-with-itself

double GreensTheorem Point p1 Point p1 return p1.X p2.Y p1.Y p2.X public static double SignedArea this IEnumerable Point.. Position p1 Position p2 double dx p2.X p1.X double dy p2.Y p1.Y return Math.Sqrt dx dx dy dy public static class PointMath public.. Position pts return pts.Pairwise p1 p2 p1.X p2.Y p1.Y p2.X .Sum 2.0 public static double Area IEnumerable Position..

How to know if a line intersects a plane in C#? - Basic 2D geometry

http://stackoverflow.com/questions/30080/how-to-know-if-a-line-intersects-a-plane-in-c-basic-2d-geometry

get return p2.X set p2.X value public float Y1 get return p1.Y set p1.Y value public float Y2 get return p2.Y set p2.Y value.. p2.X set p2.X value public float Y1 get return p1.Y set p1.Y value public float Y2 get return p2.Y set p2.Y value public.. p2 return Intersection.Tangent if point.Y Math.Min p1.Y p2.Y if point.Y Math.Max p1.Y p2.Y if point.X Math.Max p1.X..