-
-
Notifications
You must be signed in to change notification settings - Fork 44
datamodels Vector3
RaidMax edited this page May 21, 2023
·
1 revision
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph Data.Models
Data.Models.Vector3[[Vector3]]
end
Type | Name | Methods |
---|---|---|
int |
Vector3Id |
get, set |
float |
X |
get, protected set |
float |
Y |
get, protected set |
float |
Z |
get, protected set |
Returns | Name |
---|---|
double |
AngleBetween (Vector3 a) |
double |
DotProduct (Vector3 a) |
bool |
Equals (object obj) |
double |
Magnitude () |
string |
ToString () |
Returns | Name |
---|---|
double |
AbsoluteDistance (Vector3 a, Vector3 b) |
double |
Distance (Vector3 a, Vector3 b) |
Vector3 |
Parse (string s) |
Vector3 |
Subtract (Vector3 a, Vector3 b) |
double |
ViewAngleDistance (Vector3 a, Vector3 b, Vector3 c) |
public Vector3()
public Vector3(float x, float y, float z)
Type | Name | Description |
---|---|---|
float |
x | |
float |
y | |
float |
z |
public override string ToString()
public override bool Equals(object obj)
Type | Name | Description |
---|---|---|
object |
obj |
public static Vector3 Parse(string s)
Type | Name | Description |
---|---|---|
string |
s |
public static double Distance(Vector3 a, Vector3 b)
Type | Name | Description |
---|---|---|
Vector3 |
a | |
Vector3 |
b |
public static double AbsoluteDistance(Vector3 a, Vector3 b)
Type | Name | Description |
---|---|---|
Vector3 |
a | |
Vector3 |
b |
public static double ViewAngleDistance(Vector3 a, Vector3 b, Vector3 c)
Type | Name | Description |
---|---|---|
Vector3 |
a | |
Vector3 |
b | |
Vector3 |
c |
public static Vector3 Subtract(Vector3 a, Vector3 b)
Type | Name | Description |
---|---|---|
Vector3 |
a | |
Vector3 |
b |
public double DotProduct(Vector3 a)
Type | Name | Description |
---|---|---|
Vector3 |
a |
public double Magnitude()
public double AngleBetween(Vector3 a)
Type | Name | Description |
---|---|---|
Vector3 |
a |
public int Vector3Id { get; set; }
public float X { get; protected set; }
public float Y { get; protected set; }
public float Z { get; protected set; }
Generated with ModularDoc