Initializes a new instance of the LineSegment class.

Namespace:  AForge.Math.Geometry
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public LineSegment(
	Point start,
	Point end
)

Parameters

start
Type: AForge..::.Point
Segment's start point.
end
Type: AForge..::.Point
Segment's end point.

Exceptions

ExceptionCondition
System..::.ArgumentExceptionThrown if the two points are the same.

See Also