C# Class SharpMath.Vector2D

Mostrar archivo Open project: Patapom/GodComplex Class Usage Examples

Public Properties

Property Type Description
x float

Public Methods

Method Description
IsNormalized ( ) : bool
IsTooSmall ( ) : bool
Magnitude ( ) : float
MakeZero ( ) : void
Max ( ) : float
Max ( Vector2D _Op ) : void
Min ( ) : float
Min ( Vector2D _Op ) : void
Normalize ( ) : Vector2D
Parse ( string _Source ) : Vector2D
Product ( ) : float
Set ( Point2D _Source ) : void
Set ( Vector2D _Source ) : void
Set ( float _x, float _y ) : void
Set ( float3 _Source ) : void
Set ( float4 _Source ) : void
SquareMagnitude ( ) : float
Sum ( ) : float
ToString ( ) : string
Vector2D ( ) : System
Vector2D ( Point2D _Source ) : System
Vector2D ( Vector2D _Source ) : System
Vector2D ( float _f ) : System
Vector2D ( float _x, float _y ) : System
Vector2D ( float3 _Source ) : System
Vector2D ( float4 _Source ) : System
operator ( ) : Vector2D
operator ( ) : bool
operator ( ) : float
operator ( ) : float3

Method Details

IsNormalized() public method

public IsNormalized ( ) : bool
return bool

IsTooSmall() public method

public IsTooSmall ( ) : bool
return bool

Magnitude() public method

public Magnitude ( ) : float
return float

MakeZero() public method

public MakeZero ( ) : void
return void

Max() public method

public Max ( ) : float
return float

Max() public method

public Max ( Vector2D _Op ) : void
_Op Vector2D
return void

Min() public method

public Min ( ) : float
return float

Min() public method

public Min ( Vector2D _Op ) : void
_Op Vector2D
return void

Normalize() public method

public Normalize ( ) : Vector2D
return Vector2D

Parse() public static method

public static Parse ( string _Source ) : Vector2D
_Source string
return Vector2D

Product() public method

public Product ( ) : float
return float

Set() public method

public Set ( Point2D _Source ) : void
_Source Point2D
return void

Set() public method

public Set ( Vector2D _Source ) : void
_Source Vector2D
return void

Set() public method

public Set ( float _x, float _y ) : void
_x float
_y float
return void

Set() public method

public Set ( float3 _Source ) : void
_Source float3
return void

Set() public method

public Set ( float4 _Source ) : void
_Source float4
return void

SquareMagnitude() public method

public SquareMagnitude ( ) : float
return float

Sum() public method

public Sum ( ) : float
return float

ToString() public method

public ToString ( ) : string
return string

Vector2D() public method

public Vector2D ( ) : System
return System

Vector2D() public method

public Vector2D ( Point2D _Source ) : System
_Source Point2D
return System

Vector2D() public method

public Vector2D ( Vector2D _Source ) : System
_Source Vector2D
return System

Vector2D() public method

public Vector2D ( float _f ) : System
_f float
return System

Vector2D() public method

public Vector2D ( float _x, float _y ) : System
_x float
_y float
return System

Vector2D() public method

public Vector2D ( float3 _Source ) : System
_Source float3
return System

Vector2D() public method

public Vector2D ( float4 _Source ) : System
_Source float4
return System

operator() public static method

public static operator ( ) : Vector2D
return Vector2D

operator() public static method

public static operator ( ) : bool
return bool

operator() public static method

public static operator ( ) : float
return float

operator() public static method

public static operator ( ) : float3
return float3

Property Details

x public_oe property

public float x
return float