Click or drag to resize
Accord.NET (logo)

LineSegment Constructor

Initializes a new instance of the LineSegment class.

Namespace:  Accord.Math.Geometry
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public LineSegment(
	Point start,
	Point end
)
Request Example View Source

Parameters

start
Type: AccordPoint
Segment's start point.
end
Type: AccordPoint
Segment's end point.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if the two points are the same.
See Also