Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Engine.Point2
类 Engine.Point2 继承关系图:
Engine.Point2 的协作图:

Public 成员函数

 Point2 (int v)
 Point2 (int x, int y)
override int GetHashCode ()
override bool Equals (object obj)
bool Equals (Point2 other)
override string ToString ()
unsafe Span< int > AsSpan ()
unsafe int * AsPointer ()

静态 Public 成员函数

static implicit operator Point2 ((int X, int Y) v)
static int Dot (Point2 p1, Point2 p2)
static int Cross (Point2 p1, Point2 p2)
static Point2 Perpendicular (Point2 p)
static Point2 Min (Point2 p, int v)
static Point2 Min (Point2 p1, Point2 p2)
static Point2 Max (Point2 p, int v)
static Point2 Max (Point2 p1, Point2 p2)
static int MinElement (Point2 p)
static int MaxElement (Point2 p)
static bool operator== (Point2 p1, Point2 p2)
static bool operator!= (Point2 p1, Point2 p2)
static Point2 operator+ (Point2 p)
static Point2 operator- (Point2 p)
static Point2 operator+ (Point2 p1, Point2 p2)
static Point2 operator- (Point2 p1, Point2 p2)
static Point2 operator* (int n, Point2 p)
static Point2 operator* (Point2 p, int n)
static Point2 operator* (Point2 p1, Point2 p2)
static Point2 operator/ (Point2 p, int n)
static Point2 operator/ (Point2 p1, Point2 p2)
static implicit operator Vector2 (Point2 p)
static Point2 Round (Vector2 v)
static Point2 Round (float x, float y)
static Point2 Ceiling (Vector2 v)
static Point2 Ceiling (float x, float y)
static Point2 Floor (Vector2 v)
static Point2 Floor (float x, float y)

Public 属性

int X
int Y

静态 Public 属性

static readonly Point2 Zero = default
static readonly Point2 One = new(1, 1)
static readonly Point2 UnitX = new(1, 0)
static readonly Point2 UnitY = new(0, 1)

详细描述

在文件 Point2.cs 第 2 行定义.

构造及析构函数说明

◆ Point2() [1/2]

Engine.Point2.Point2 ( int v)

在文件 Point2.cs 第 15 行定义.

这是这个函数的调用关系图:

◆ Point2() [2/2]

Engine.Point2.Point2 ( int x,
int y )

在文件 Point2.cs 第 20 行定义.

成员函数说明

◆ AsPointer()

unsafe int * Engine.Point2.AsPointer ( )

在文件 Point2.cs 第 81 行定义.

◆ AsSpan()

unsafe Span< int > Engine.Point2.AsSpan ( )

在文件 Point2.cs 第 75 行定义.

◆ Ceiling() [1/2]

Point2 Engine.Point2.Ceiling ( float x,
float y )
static

在文件 Point2.cs 第 95 行定义.

函数调用图:

◆ Ceiling() [2/2]

Point2 Engine.Point2.Ceiling ( Vector2 v)
static

在文件 Point2.cs 第 93 行定义.

函数调用图:

◆ Cross()

int Engine.Point2.Cross ( Point2 p1,
Point2 p2 )
static

在文件 Point2.cs 第 37 行定义.

函数调用图:

◆ Dot()

int Engine.Point2.Dot ( Point2 p1,
Point2 p2 )
static

在文件 Point2.cs 第 35 行定义.

函数调用图:

◆ Equals() [1/2]

override bool Engine.Point2.Equals ( object obj)

在文件 Point2.cs 第 29 行定义.

函数调用图:

◆ Equals() [2/2]

bool Engine.Point2.Equals ( Point2 other)

在文件 Point2.cs 第 31 行定义.

函数调用图:

◆ Floor() [1/2]

Point2 Engine.Point2.Floor ( float x,
float y )
static

在文件 Point2.cs 第 99 行定义.

函数调用图:

◆ Floor() [2/2]

Point2 Engine.Point2.Floor ( Vector2 v)
static

在文件 Point2.cs 第 97 行定义.

函数调用图:

◆ GetHashCode()

override int Engine.Point2.GetHashCode ( )

在文件 Point2.cs 第 27 行定义.

◆ Max() [1/2]

Point2 Engine.Point2.Max ( Point2 p,
int v )
static

在文件 Point2.cs 第 45 行定义.

函数调用图:

◆ Max() [2/2]

Point2 Engine.Point2.Max ( Point2 p1,
Point2 p2 )
static

在文件 Point2.cs 第 47 行定义.

函数调用图:

◆ MaxElement()

int Engine.Point2.MaxElement ( Point2 p)
static

在文件 Point2.cs 第 51 行定义.

函数调用图:

◆ Min() [1/2]

Point2 Engine.Point2.Min ( Point2 p,
int v )
static

在文件 Point2.cs 第 41 行定义.

函数调用图:

◆ Min() [2/2]

Point2 Engine.Point2.Min ( Point2 p1,
Point2 p2 )
static

在文件 Point2.cs 第 43 行定义.

函数调用图:

◆ MinElement()

int Engine.Point2.MinElement ( Point2 p)
static

在文件 Point2.cs 第 49 行定义.

函数调用图:

◆ operator Point2()

implicit Engine.Point2.operator Point2 ( (int X, int Y) v)
static

在文件 Point2.cs 第 25 行定义.

◆ operator Vector2()

implicit Engine.Point2.operator Vector2 ( Point2 p)
static

在文件 Point2.cs 第 87 行定义.

函数调用图:

◆ operator!=()

bool Engine.Point2.operator!= ( Point2 p1,
Point2 p2 )
static

在文件 Point2.cs 第 55 行定义.

函数调用图:

◆ operator*() [1/3]

Point2 Engine.Point2.operator* ( int n,
Point2 p )
static

在文件 Point2.cs 第 65 行定义.

函数调用图:

◆ operator*() [2/3]

Point2 Engine.Point2.operator* ( Point2 p,
int n )
static

在文件 Point2.cs 第 67 行定义.

函数调用图:

◆ operator*() [3/3]

Point2 Engine.Point2.operator* ( Point2 p1,
Point2 p2 )
static

在文件 Point2.cs 第 69 行定义.

函数调用图:

◆ operator+() [1/2]

Point2 Engine.Point2.operator+ ( Point2 p)
static

在文件 Point2.cs 第 57 行定义.

函数调用图:

◆ operator+() [2/2]

Point2 Engine.Point2.operator+ ( Point2 p1,
Point2 p2 )
static

在文件 Point2.cs 第 61 行定义.

函数调用图:

◆ operator-() [1/2]

Point2 Engine.Point2.operator- ( Point2 p)
static

在文件 Point2.cs 第 59 行定义.

函数调用图:

◆ operator-() [2/2]

Point2 Engine.Point2.operator- ( Point2 p1,
Point2 p2 )
static

在文件 Point2.cs 第 63 行定义.

函数调用图:

◆ operator/() [1/2]

Point2 Engine.Point2.operator/ ( Point2 p,
int n )
static

在文件 Point2.cs 第 71 行定义.

函数调用图:

◆ operator/() [2/2]

Point2 Engine.Point2.operator/ ( Point2 p1,
Point2 p2 )
static

在文件 Point2.cs 第 73 行定义.

函数调用图:

◆ operator==()

bool Engine.Point2.operator== ( Point2 p1,
Point2 p2 )
static

在文件 Point2.cs 第 53 行定义.

函数调用图:

◆ Perpendicular()

Point2 Engine.Point2.Perpendicular ( Point2 p)
static

在文件 Point2.cs 第 39 行定义.

函数调用图:

◆ Round() [1/2]

Point2 Engine.Point2.Round ( float x,
float y )
static

在文件 Point2.cs 第 91 行定义.

函数调用图:

◆ Round() [2/2]

Point2 Engine.Point2.Round ( Vector2 v)
static

在文件 Point2.cs 第 89 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ ToString()

override string Engine.Point2.ToString ( )

在文件 Point2.cs 第 33 行定义.

类成员变量说明

◆ One

readonly Point2 Engine.Point2.One = new(1, 1)
static

在文件 Point2.cs 第 9 行定义.

◆ UnitX

readonly Point2 Engine.Point2.UnitX = new(1, 0)
static

在文件 Point2.cs 第 11 行定义.

◆ UnitY

readonly Point2 Engine.Point2.UnitY = new(0, 1)
static

在文件 Point2.cs 第 13 行定义.

◆ X

int Engine.Point2.X

在文件 Point2.cs 第 3 行定义.

◆ Y

int Engine.Point2.Y

在文件 Point2.cs 第 5 行定义.

◆ Zero

readonly Point2 Engine.Point2.Zero = default
static

在文件 Point2.cs 第 7 行定义.


该结构体的文档由以下文件生成:
  • E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Engine/Engine/Point2.cs