Property | Type | Description | |
---|---|---|---|
x | double | ||
y | double |
Method | Description | |
---|---|---|
Add ( |
||
AngleSigned ( |
||
Clamp ( |
||
Clamp ( double value, double min_inclusive, double max_inclusive ) : double | ||
CrossProduct ( |
||
Distance ( |
||
DistanceSQ ( |
||
DistanceSQ ( |
||
Dot ( |
||
DotProduct ( |
||
Equal ( |
||
Equals ( |
||
Equals ( object obj ) : bool | ||
ForAngle ( double a ) : |
||
FuzzyEqual ( |
||
GetHashCode ( ) : int | ||
IntersectPoint ( |
||
Lerp ( |
||
LineIntersect ( |
||
Midpoint ( |
||
Multiply ( |
||
MultiplyComponents ( |
||
Normalize ( |
||
Normalize ( ) : double |
Normalizes the components of this point (convert to mag 1), and returns the orignial magnitude of the vector defined by the XY components of this point.
|
|
Offset ( double dx, double dy ) : |
||
Perp ( |
||
PerpendicularClockwise ( |
||
PerpendicularCounterClockwise ( |
||
Project ( |
||
Rotate ( |
||
RotateByAngle ( |
||
SegmentIntersect ( |
||
Sub ( |
||
Sub ( |
||
ToAngle ( |
||
ToString ( ) : string | ||
Unrotate ( |
||
cpVect ( |
||
cpVect ( double _x, double _y ) : System | ||
operator ( ) : bool | ||
operator ( ) : |
Method | Description | |
---|---|---|
FromSize ( CCSize s ) : |
public static Add ( |
||
v1 | ||
v2 | ||
return |
public static AngleSigned ( |
||
a | ||
b | ||
return | double |
public static Clamp ( |
||
p | ||
from | ||
to | ||
return |
public static Clamp ( double value, double min_inclusive, double max_inclusive ) : double | ||
value | double | |
min_inclusive | double | |
max_inclusive | double | |
return | double |
public static CrossProduct ( |
||
v1 | ||
v2 | ||
return | double |
public static Distance ( |
||
v1 | ||
v2 | ||
return | double |
public static DistanceSQ ( |
||
v1 | ||
v2 | ||
return | double |
public static Dot ( |
||
p1 | ||
p2 | ||
return | double |
public static DotProduct ( |
||
v1 | ||
v2 | ||
return | double |
public static Equal ( |
||
point1 | ||
point2 | ||
return | bool |
public static FuzzyEqual ( |
||
a | ||
b | ||
variance | double | |
return | bool |
public static IntersectPoint ( |
||
A | ||
B | ||
C | ||
D | ||
return |
public static Lerp ( |
||
a | ||
b | ||
alpha | double | |
return |
public static LineIntersect ( |
||
A | ||
B | ||
C | ||
D | ||
S | double | |
T | double | |
return | bool |
public static Midpoint ( |
||
p1 | ||
p2 | ||
return |
public static Multiply ( |
||
v1 | ||
v | double | |
return |
public static MultiplyComponents ( |
||
a | ||
b | ||
return |
public static Normalize ( |
||
p | ||
return |
public Offset ( double dx, double dy ) : |
||
dx | double | |
dy | double | |
return |
public static PerpendicularClockwise ( |
||
v | ||
return |
public static PerpendicularCounterClockwise ( |
||
v | ||
return |
public static Project ( |
||
v1 | ||
v2 | ||
return |
public static Rotate ( |
||
v1 | ||
v2 | ||
return |
public static RotateByAngle ( |
||
v | ||
pivot | ||
angle | double | |
return |
public static SegmentIntersect ( |
||
A | ||
B | ||
C | ||
D | ||
return | bool |
public static Sub ( |
||
v1 | ||
v2 | ||
return |
public static Unrotate ( |
||
v1 | ||
v2 | ||
return |
public cpVect ( double _x, double _y ) : System | ||
_x | double | |
_y | double | |
return | System |