namespace GeometriCS.structs { /// /// A line through a two-dimensional vector space. /// public class Line2d { /// /// A point that lies on the line. /// public Vector2d PointOnLine { get; set; } /// /// Direction vector, along which all the points on the line lie. /// public Vector2d Direction { get; set; } /// /// Constructor for the line. /// /// Point that lies on the line. /// Direction vector on the line. public Line2d(Vector2d pointOnLine, Vector2d direction) { PointOnLine = pointOnLine; Direction = direction; } } }