C# Класс StdPaint.Triangle2f

Represents a set of three two-dimensional floating-point vectors.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
A Vector2
B Vector2
C Vector2

Открытые методы

Метод Описание
GetArea ( Vector2 a, Vector2 b, Vector2 c ) : double

Returns the area of the triangle made from the specified vectors.

Triangle2f ( Vector2 a, Vector2 b, Vector2 c ) : System

Initializes a new instance of the StdPaint.Trangle2f structure with the specified vectors.

Описание методов

GetArea() публичный статический Метод

Returns the area of the triangle made from the specified vectors.
public static GetArea ( Vector2 a, Vector2 b, Vector2 c ) : double
a Vector2 The first point.
b Vector2 The second point.
c Vector2 The third point.
Результат double

Triangle2f() публичный Метод

Initializes a new instance of the StdPaint.Trangle2f structure with the specified vectors.
public Triangle2f ( Vector2 a, Vector2 b, Vector2 c ) : System
a Vector2 The first vector.
b Vector2 The second vector.
c Vector2 The third vector.
Результат System

Описание свойств

A публичное свойство

The first vector.
public Vector2 A
Результат Vector2

B публичное свойство

The second vector.
public Vector2 B
Результат Vector2

C публичное свойство

The third vector.
public Vector2 C
Результат Vector2