Line Constructor (Point, Point)
Constructs a line through two points.

Namespace:  ceometric.VectorGeometry
Assembly:  ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)

Syntax

C#
public Line(
	Point point1,
	Point point2
)
Visual Basic (Declaration)
Public Sub New ( _
	point1 As Point, _
	point2 As Point _
)
Visual C++
public:
Line(
	Point^ point1, 
	Point^ point2
)

Parameters

point1
Type: ceometric.VectorGeometry..::.Point
A first Point on the line.
point2
Type: ceometric.VectorGeometry..::.Point
A second Point on the line.

Exceptions

ExceptionCondition
System..::.ArgumentExceptionpoint1 and point2 are identical.

See Also