WinForm Animation Library
|
The Float3D class contains two values and represents a point in a 3D plane More...
Public Member Functions | |
Float3D (float x, float y, float z) | |
Initializes a new instance of the Float3D class. More... | |
Float3D () | |
Initializes a new instance of the Float3D class. More... | |
TypeCode | GetTypeCode () |
Returns the T:System.TypeCode for this instance. More... | |
bool | ToBoolean (IFormatProvider provider) |
Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information. More... | |
byte | ToByte (IFormatProvider provider) |
Converts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information. More... | |
char | ToChar (IFormatProvider provider) |
Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information. More... | |
DateTime | ToDateTime (IFormatProvider provider) |
Converts the value of this instance to an equivalent T:System.DateTime using the specified culture-specific formatting information. More... | |
decimal | ToDecimal (IFormatProvider provider) |
Converts the value of this instance to an equivalent T:System.Decimal number using the specified culture-specific formatting information. More... | |
double | ToDouble (IFormatProvider provider) |
Converts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information. More... | |
short | ToInt16 (IFormatProvider provider) |
Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information. More... | |
int | ToInt32 (IFormatProvider provider) |
Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information. More... | |
long | ToInt64 (IFormatProvider provider) |
Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information. More... | |
sbyte | ToSByte (IFormatProvider provider) |
Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information. More... | |
float | ToSingle (IFormatProvider provider) |
Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information. More... | |
ushort | ToUInt16 (IFormatProvider provider) |
Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information. More... | |
uint | ToUInt32 (IFormatProvider provider) |
Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information. More... | |
ulong | ToUInt64 (IFormatProvider provider) |
Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information. More... | |
string | ToString (IFormatProvider provider) |
Converts the value of this instance to an equivalent T:System.String using the specified culture-specific formatting information. More... | |
object | ToType (Type conversionType, IFormatProvider provider) |
Converts the value of this instance to an T:System.Object of the specified T:System.Type that has an equivalent value, using the specified culture-specific formatting information. More... | |
bool | Equals (Color other) |
Indicates whether the current object is equal to a Color object. More... | |
bool | Equals (Float3D other) |
Indicates whether the current object is equal to another object of the same type. More... | |
override bool | Equals (object obj) |
Determines whether the specified T:System.Object is equal to the current T:System.Object. More... | |
override int | GetHashCode () |
Serves as a hash function for a particular type. This code will change of the values of the X and Y changes. Make sure to not change the values while stored in a hash dependent data structure. More... | |
override string | ToString () |
Returns a string that represents the current Float3D. More... | |
Static Public Member Functions | |
static bool | operator== (Float3D left, Float3D right) |
Compares two Float3D objects for equality More... | |
static bool | operator!= (Float3D left, Float3D right) |
Compares two Float3D objects for in-equality More... | |
static implicit | operator Color (Float3D float3D) |
Represents the values as an instance of the Color class More... | |
static Float3D | FromColor (Color color) |
Creates and returns a new instance of the Float3D class from a Color instance More... | |
Properties | |
float | X [get, set] |
Gets the horizontal value of the point More... | |
float | Y [get, set] |
Gets the vertical value of the point More... | |
float | Z [get, set] |
Gets the depth value of the point More... | |
The Float3D class contains two values and represents a point in a 3D plane
Definition at line 10 of file Float3D.cs.
WinFormAnimation.Float3D.Float3D | ( | float | x, |
float | y, | ||
float | z | ||
) |
Initializes a new instance of the Float3D class.
x | The horizontal value |
y | The vertical value |
z | The depth value |
Definition at line 24 of file Float3D.cs.
WinFormAnimation.Float3D.Float3D | ( | ) |
Initializes a new instance of the Float3D class.
Definition at line 34 of file Float3D.cs.
bool WinFormAnimation.Float3D.Equals | ( | Color | other | ) |
Indicates whether the current object is equal to a Color object.
other | An object to compare with this object. |
Definition at line 359 of file Float3D.cs.
bool WinFormAnimation.Float3D.Equals | ( | Float3D | other | ) |
Indicates whether the current object is equal to another object of the same type.
other | An object to compare with this object. |
Definition at line 371 of file Float3D.cs.
override bool WinFormAnimation.Float3D.Equals | ( | object | obj | ) |
Determines whether the specified T:System.Object is equal to the current T:System.Object.
obj | The T:System.Object to compare with the current T:System.Object. |
Definition at line 385 of file Float3D.cs.
|
static |
Creates and returns a new instance of the Float3D class from a Color instance
color | The object to create the Float3D instance from |
Definition at line 477 of file Float3D.cs.
override int WinFormAnimation.Float3D.GetHashCode | ( | ) |
Serves as a hash function for a particular type. This code will change of the values of the X and Y changes. Make sure to not change the values while stored in a hash dependent data structure.
Definition at line 404 of file Float3D.cs.
TypeCode WinFormAnimation.Float3D.GetTypeCode | ( | ) |
Returns the T:System.TypeCode for this instance.
Definition at line 60 of file Float3D.cs.
|
static |
Represents the values as an instance of the Color class
float3D | The Float3D class to convert |
Definition at line 456 of file Float3D.cs.
Compares two Float3D objects for in-equality
Definition at line 442 of file Float3D.cs.
Compares two Float3D objects for equality
Definition at line 424 of file Float3D.cs.
bool WinFormAnimation.Float3D.ToBoolean | ( | IFormatProvider | provider | ) |
Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.
provider | An T:System.IFormatProvider interface implementation that supplies culture-specific formatting information. |
InvalidCastException | This method is not supported |
Definition at line 78 of file Float3D.cs.
byte WinFormAnimation.Float3D.ToByte | ( | IFormatProvider | provider | ) |
Converts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information.
provider | An T:System.IFormatProvider interface implementation that supplies culture-specific formatting information. |
InvalidCastException | This method is not supported |
Definition at line 95 of file Float3D.cs.
char WinFormAnimation.Float3D.ToChar | ( | IFormatProvider | provider | ) |
Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.
provider | An T:System.IFormatProvider interface implementation that supplies culture-specific formatting information. |
InvalidCastException | This method is not supported |
Definition at line 112 of file Float3D.cs.
DateTime WinFormAnimation.Float3D.ToDateTime | ( | IFormatProvider | provider | ) |
Converts the value of this instance to an equivalent T:System.DateTime using the specified culture-specific formatting information.
provider | An T:System.IFormatProvider interface implementation that supplies culture-specific formatting information. |
InvalidCastException | This method is not supported |
Definition at line 130 of file Float3D.cs.
decimal WinFormAnimation.Float3D.ToDecimal | ( | IFormatProvider | provider | ) |
Converts the value of this instance to an equivalent T:System.Decimal number using the specified culture-specific formatting information.
provider | An T:System.IFormatProvider interface implementation that supplies culture-specific formatting information. |
InvalidCastException | This method is not supported |
Definition at line 148 of file Float3D.cs.
double WinFormAnimation.Float3D.ToDouble | ( | IFormatProvider | provider | ) |
Converts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information.
provider | An T:System.IFormatProvider interface implementation that supplies culture-specific formatting information. |
InvalidCastException | This method is not supported |
Definition at line 166 of file Float3D.cs.
short WinFormAnimation.Float3D.ToInt16 | ( | IFormatProvider | provider | ) |
Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.
provider | An T:System.IFormatProvider interface implementation that supplies culture-specific formatting information. |
InvalidCastException | This method is not supported |
Definition at line 184 of file Float3D.cs.
int WinFormAnimation.Float3D.ToInt32 | ( | IFormatProvider | provider | ) |
Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information.
provider | An T:System.IFormatProvider interface implementation that supplies culture-specific formatting information. |
InvalidCastException | This method is not supported |
Definition at line 201 of file Float3D.cs.
long WinFormAnimation.Float3D.ToInt64 | ( | IFormatProvider | provider | ) |
Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.
provider | An T:System.IFormatProvider interface implementation that supplies culture-specific formatting information. |
InvalidCastException | This method is not supported |
Definition at line 219 of file Float3D.cs.
sbyte WinFormAnimation.Float3D.ToSByte | ( | IFormatProvider | provider | ) |
Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.
provider | An T:System.IFormatProvider interface implementation that supplies culture-specific formatting information. |
InvalidCastException | This method is not supported |
Definition at line 237 of file Float3D.cs.
float WinFormAnimation.Float3D.ToSingle | ( | IFormatProvider | provider | ) |
Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.
provider | An T:System.IFormatProvider interface implementation that supplies culture-specific formatting information. |
InvalidCastException | This method is not supported |
Definition at line 255 of file Float3D.cs.
string WinFormAnimation.Float3D.ToString | ( | IFormatProvider | provider | ) |
Converts the value of this instance to an equivalent T:System.String using the specified culture-specific formatting information.
provider | An T:System.IFormatProvider interface implementation that supplies culture-specific formatting information. |
Definition at line 324 of file Float3D.cs.
override string WinFormAnimation.Float3D.ToString | ( | ) |
Returns a string that represents the current Float3D.
Definition at line 467 of file Float3D.cs.
object WinFormAnimation.Float3D.ToType | ( | Type | conversionType, |
IFormatProvider | provider | ||
) |
Converts the value of this instance to an T:System.Object of the specified T:System.Type that has an equivalent value, using the specified culture-specific formatting information.
conversionType | The T:System.Type to which the value of this instance is converted. |
provider | An T:System.IFormatProvider interface implementation that supplies culture-specific formatting information. |
Definition at line 343 of file Float3D.cs.
ushort WinFormAnimation.Float3D.ToUInt16 | ( | IFormatProvider | provider | ) |
Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.
provider | An T:System.IFormatProvider interface implementation that supplies culture-specific formatting information. |
InvalidCastException | This method is not supported |
Definition at line 272 of file Float3D.cs.
uint WinFormAnimation.Float3D.ToUInt32 | ( | IFormatProvider | provider | ) |
Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information.
provider | An T:System.IFormatProvider interface implementation that supplies culture-specific formatting information. |
InvalidCastException | This method is not supported |
Definition at line 290 of file Float3D.cs.
ulong WinFormAnimation.Float3D.ToUInt64 | ( | IFormatProvider | provider | ) |
Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.
provider | An T:System.IFormatProvider interface implementation that supplies culture-specific formatting information. |
InvalidCastException | This method is not supported |
Definition at line 308 of file Float3D.cs.
|
getset |
Gets the horizontal value of the point
Definition at line 41 of file Float3D.cs.
|
getset |
Gets the vertical value of the point
Definition at line 46 of file Float3D.cs.
|
getset |
Gets the depth value of the point
Definition at line 51 of file Float3D.cs.