Constructs a triangle from three points.

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

Syntax

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

Parameters

point1
Type: ceometric.VectorGeometry..::.Point
The first vertex.
point2
Type: ceometric.VectorGeometry..::.Point
The second vertex.
point3
Type: ceometric.VectorGeometry..::.Point
The third vertex.

Exceptions

ExceptionCondition
System..::.ArgumentExceptionThe points are collinear.

See Also