C# 클래스 StdPaint.Triangle2f

Represents a set of three two-dimensional floating-point vectors.
파일 보기 프로젝트 열기: TheBerkin/StdPaint

공개 프로퍼티들

프로퍼티 타입 설명
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