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.cs2 行定义.

构造及析构函数说明

◆ Point2() [1/2]

Engine.Point2.Point2 ( int v)

在文件 Point2.cs15 行定义.

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

◆ Point2() [2/2]

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

在文件 Point2.cs20 行定义.

成员函数说明

◆ AsPointer()

unsafe int * Engine.Point2.AsPointer ( )

在文件 Point2.cs81 行定义.

◆ AsSpan()

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

在文件 Point2.cs75 行定义.

◆ Ceiling() [1/2]

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

在文件 Point2.cs95 行定义.

函数调用图:

◆ Ceiling() [2/2]

Point2 Engine.Point2.Ceiling ( Vector2 v)
static

在文件 Point2.cs93 行定义.

函数调用图:

◆ Cross()

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

在文件 Point2.cs37 行定义.

函数调用图:

◆ Dot()

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

在文件 Point2.cs35 行定义.

函数调用图:

◆ Equals() [1/2]

override bool Engine.Point2.Equals ( object obj)

在文件 Point2.cs29 行定义.

函数调用图:

◆ Equals() [2/2]

bool Engine.Point2.Equals ( Point2 other)

在文件 Point2.cs31 行定义.

函数调用图:

◆ Floor() [1/2]

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

在文件 Point2.cs99 行定义.

函数调用图:

◆ Floor() [2/2]

Point2 Engine.Point2.Floor ( Vector2 v)
static

在文件 Point2.cs97 行定义.

函数调用图:

◆ GetHashCode()

override int Engine.Point2.GetHashCode ( )

在文件 Point2.cs27 行定义.

◆ Max() [1/2]

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

在文件 Point2.cs45 行定义.

函数调用图:

◆ Max() [2/2]

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

在文件 Point2.cs47 行定义.

函数调用图:

◆ MaxElement()

int Engine.Point2.MaxElement ( Point2 p)
static

在文件 Point2.cs51 行定义.

函数调用图:

◆ Min() [1/2]

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

在文件 Point2.cs41 行定义.

函数调用图:

◆ Min() [2/2]

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

在文件 Point2.cs43 行定义.

函数调用图:

◆ MinElement()

int Engine.Point2.MinElement ( Point2 p)
static

在文件 Point2.cs49 行定义.

函数调用图:

◆ operator Point2()

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

在文件 Point2.cs25 行定义.

◆ operator Vector2()

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

在文件 Point2.cs87 行定义.

函数调用图:

◆ operator!=()

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

在文件 Point2.cs55 行定义.

函数调用图:

◆ operator*() [1/3]

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

在文件 Point2.cs65 行定义.

函数调用图:

◆ operator*() [2/3]

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

在文件 Point2.cs67 行定义.

函数调用图:

◆ operator*() [3/3]

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

在文件 Point2.cs69 行定义.

函数调用图:

◆ operator+() [1/2]

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

在文件 Point2.cs57 行定义.

函数调用图:

◆ operator+() [2/2]

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

在文件 Point2.cs61 行定义.

函数调用图:

◆ operator-() [1/2]

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

在文件 Point2.cs59 行定义.

函数调用图:

◆ operator-() [2/2]

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

在文件 Point2.cs63 行定义.

函数调用图:

◆ operator/() [1/2]

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

在文件 Point2.cs71 行定义.

函数调用图:

◆ operator/() [2/2]

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

在文件 Point2.cs73 行定义.

函数调用图:

◆ operator==()

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

在文件 Point2.cs53 行定义.

函数调用图:

◆ Perpendicular()

Point2 Engine.Point2.Perpendicular ( Point2 p)
static

在文件 Point2.cs39 行定义.

函数调用图:

◆ Round() [1/2]

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

在文件 Point2.cs91 行定义.

函数调用图:

◆ Round() [2/2]

Point2 Engine.Point2.Round ( Vector2 v)
static

在文件 Point2.cs89 行定义.

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

◆ ToString()

override string Engine.Point2.ToString ( )

在文件 Point2.cs33 行定义.

类成员变量说明

◆ One

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

在文件 Point2.cs9 行定义.

◆ UnitX

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

在文件 Point2.cs11 行定义.

◆ UnitY

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

在文件 Point2.cs13 行定义.

◆ X

int Engine.Point2.X

在文件 Point2.cs3 行定义.

◆ Y

int Engine.Point2.Y

在文件 Point2.cs5 行定义.

◆ Zero

readonly Point2 Engine.Point2.Zero = default
static

在文件 Point2.cs7 行定义.


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