Constructs a triangle from three points.
Namespace:
ceometric.VectorGeometryAssembly: 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
Exception | Condition |
---|---|
System..::.ArgumentException | The points are collinear. |