My Project v1
Project
载入中...
搜索中...
未找到
Game.Segment2

Public 成员函数

 Segment2 (Vector2 start, Vector2 end)
 
override string ToString ()
 

静态 Public 成员函数

static float Distance (Segment2 s, Vector2 p)
 
static bool Intersection (Segment2 s1, Segment2 s2, out Vector2 result)
 
static Vector2 NearestPoint (Segment2 s, Vector2 p)
 

Public 属性

Vector2 Start
 
Vector2 End
 

构造及析构函数说明

◆ Segment2()

Game.Segment2.Segment2 ( Vector2 start,
Vector2 end )

成员函数说明

◆ Distance()

static float Game.Segment2.Distance ( Segment2 s,
Vector2 p )
static
这是这个函数的调用关系图:

◆ Intersection()

static bool Game.Segment2.Intersection ( Segment2 s1,
Segment2 s2,
out Vector2 result )
static

◆ NearestPoint()

static Vector2 Game.Segment2.NearestPoint ( Segment2 s,
Vector2 p )
static
这是这个函数的调用关系图:

◆ ToString()

override string Game.Segment2.ToString ( )

类成员变量说明

◆ End

Vector2 Game.Segment2.End

◆ Start

Vector2 Game.Segment2.Start

该结构体的文档由以下文件生成: