Public Member Functions | |
| delegate void | OnChangedHandler (Coordinate ACoordinate, float AOldX, float AOldY, float AOldZ) |
| Coordinate () | |
| Coordinate (float AX, float AY, float AZ) | |
| byte[] | GetBytes () |
| Method returning binary representation of Coordinate instance. | |
| bool | SetBytes (byte[] ABytes, int AOffset) |
| Method setting binary representation of Coordinate instance. | |
| bool | Assign (float AX, float AY, float AZ) |
| Assigns the fields of the current instance the passed values. | |
| bool | Assign (Coordinate ACoordinate) |
| Assigns the fields of the current instance the values of the passed instance. | |
| bool | Equals (float AX, float AY, float AZ) |
| Checks whether the values of the current instance math then passed values. | |
| bool | Equals (Coordinate ACoordinate) |
| Checks whether the values of the current instance math then values of the passed instance. | |
| bool | Rotate (float AX, float AY, float AZ, bool APositive) |
| Rotates the coordinate values around the center point. | |
| bool | Rotate (Coordinate ACoordinate, bool APositive) |
| Rotates the coordinate values around the center point. | |
| bool | Scale (float AX, float AY, float AZ, float AMultiplier, bool APositive) |
| Scales the coordinate values. | |
| bool | Scale (Coordinate ACoordinate, float AMultiplier, bool APositive) |
| Scales the coordinate values. | |
| bool | Translate (float AX, float AY, float AZ, bool APositive) |
| Translates the coordinate. | |
| bool | Translate (Coordinate ACoordinate, bool APositive) |
| Translates the coordinate. | |
Static Public Member Functions | |
| static float | DegToRad (float AAngle) |
| Method returning radian measure value of passed degree angle. | |
| static float | RadToDeg (float AAngle) |
| Method returning degree value of passed radian measure angle. | |
Protected Member Functions | |
| virtual void | RaiseOnAssigned (float AOldX, float AOldY, float AOldZ) |
| Wrapper for the call of event FOnAssigned(). | |
Protected Attributes | |
| float | FX |
| float | FY |
| float | FZ |
Properties | |
| static int | ByteSize [get] |
| Property containing the length of the binary representation of Coordinate. | |
| OnChangedHandler | OnAssigned [get, set] |
| Wrapper around field FOnAssigned(). | |
| float | X [get, set] |
| Property containing the X-value. | |
| float | Y [get, set] |
| Property containing the Y-value. | |
| float | Z [get, set] |
| Property containing the Z-value. | |
Events | |
| OnChangedHandler | FOnAssigned |
Definition at line 20 of file Coordinate.cs.
| Objects3D.Coordinate.Coordinate | ( | ) |
Definition at line 49 of file Coordinate.cs.
References Objects3D.Coordinate.FX, Objects3D.Coordinate.FY, and Objects3D.Coordinate.FZ.
| Objects3D.Coordinate.Coordinate | ( | float | AX, | |
| float | AY, | |||
| float | AZ | |||
| ) |
Definition at line 56 of file Coordinate.cs.
References Objects3D.Coordinate.FX, Objects3D.Coordinate.FY, and Objects3D.Coordinate.FZ.
| delegate void Objects3D.Coordinate.OnChangedHandler | ( | Coordinate | ACoordinate, | |
| float | AOldX, | |||
| float | AOldY, | |||
| float | AOldZ | |||
| ) |
| virtual void Objects3D.Coordinate.RaiseOnAssigned | ( | float | AOldX, | |
| float | AOldY, | |||
| float | AOldZ | |||
| ) | [protected, virtual] |
Wrapper for the call of event FOnAssigned().
RaiseOnAssigned
| [in] | AOldX | contains the old value of the property X |
| [in] | AOldY | contains the old value of the property Y |
| [in] | AOldZ | contains the old value of the property Z |
Definition at line 41 of file Coordinate.cs.
References Objects3D.Coordinate.FOnAssigned.
Referenced by Objects3D.Coordinate.Assign().
| byte [] Objects3D.Coordinate.GetBytes | ( | ) |
Method returning binary representation of Coordinate instance.
GetBytes
Definition at line 167 of file Coordinate.cs.
References Objects3D.Coordinate.ByteSize, Objects3D.Coordinate.FX, Objects3D.Coordinate.FY, and Objects3D.Coordinate.FZ.
Referenced by Objects3D.ServerCube.GetBytes(), Objects3D.Player.GetBytes(), Objects3D.Cube.GetBytes(), and Objects3D.Controller.GetBytes().
| bool Objects3D.Coordinate.SetBytes | ( | byte[] | ABytes, | |
| int | AOffset | |||
| ) |
Method setting binary representation of Coordinate instance.
SetBytes
| [in] | ABytes | array of byte containing the binary representation |
| [in] | AOffset | value defining from which position of the array the binary representation is to be read |
Definition at line 194 of file Coordinate.cs.
References Objects3D.Coordinate.Assign(), and Objects3D.Coordinate.ByteSize.
Referenced by Objects3D.ServerCube.SetBytes(), Objects3D.Player.SetBytes(), Objects3D.Cube.SetBytes(), and Objects3D.Controller.SetBytes().
| bool Objects3D.Coordinate.Assign | ( | float | AX, | |
| float | AY, | |||
| float | AZ | |||
| ) |
Assigns the fields of the current instance the passed values.
Assign
| [in] | X | coordinate value |
| [in] | Y | coordinate value |
| [in] | Z | coordinate value |
Definition at line 223 of file Coordinate.cs.
References Objects3D.Coordinate.FX, Objects3D.Coordinate.FY, Objects3D.Coordinate.FZ, and Objects3D.Coordinate.RaiseOnAssigned().
Referenced by Objects3D.ServerCube.Assign(), Objects3D.Player.Assign(), Objects3D.Cube.Assign(), Objects3D.Coordinate.Assign(), Objects3D.Controller.Assign(), and Objects3D.Coordinate.SetBytes().
| bool Objects3D.Coordinate.Assign | ( | Coordinate | ACoordinate | ) |
Assigns the fields of the current instance the values of the passed instance.
Assign
| [in] | coordinate | instance |
Definition at line 249 of file Coordinate.cs.
References Objects3D.Coordinate.Assign(), Objects3D.Coordinate.X, Objects3D.Coordinate.Y, and Objects3D.Coordinate.Z.
| bool Objects3D.Coordinate.Equals | ( | float | AX, | |
| float | AY, | |||
| float | AZ | |||
| ) |
Checks whether the values of the current instance math then passed values.
Equals
| [in] | X | coordinate value |
| [in] | Y | coordinate value |
| [in] | Z | coordinate value |
Definition at line 274 of file Coordinate.cs.
References Objects3D.Coordinate.FX, Objects3D.Coordinate.FY, and Objects3D.Coordinate.FZ.
Referenced by Objects3D.Coordinate.Equals(), Objects3D.Cube.OnAssignedPos(), Objects3D.Cube.OnAssignedRot(), and Objects3D.Cube.OnAssignedScale().
| bool Objects3D.Coordinate.Equals | ( | Coordinate | ACoordinate | ) |
Checks whether the values of the current instance math then values of the passed instance.
Equals
| [in] | coordinate | instance |
Definition at line 290 of file Coordinate.cs.
References Objects3D.Coordinate.Equals(), Objects3D.Coordinate.X, Objects3D.Coordinate.Y, and Objects3D.Coordinate.Z.
| bool Objects3D.Coordinate.Rotate | ( | float | AX, | |
| float | AY, | |||
| float | AZ, | |||
| bool | APositive | |||
| ) |
Rotates the coordinate values around the center point.
Rotate
| [in] | X | rotate angle |
| [in] | Y | rotate angle |
| [in] | Z | rotate angle |
| [in] | value | for reverting the rotation |
Definition at line 316 of file Coordinate.cs.
References Objects3D.Coordinate.FX, Objects3D.Coordinate.FY, and Objects3D.Coordinate.FZ.
Referenced by Objects3D.Coordinate.Rotate().
| bool Objects3D.Coordinate.Rotate | ( | Coordinate | ACoordinate, | |
| bool | APositive | |||
| ) |
Rotates the coordinate values around the center point.
Rotate
| [in] | coordinate | instance |
| [in] | value | for reverting the rotation |
Definition at line 392 of file Coordinate.cs.
References Objects3D.Coordinate.Rotate(), Objects3D.Coordinate.X, Objects3D.Coordinate.Y, and Objects3D.Coordinate.Z.
| bool Objects3D.Coordinate.Scale | ( | float | AX, | |
| float | AY, | |||
| float | AZ, | |||
| float | AMultiplier, | |||
| bool | APositive | |||
| ) |
Scales the coordinate values.
Scale
| [in] | X | scaling value |
| [in] | Y | scaling value |
| [in] | Z | scaling value |
| [in] | multiplier | for scaling values |
| [in] | value | for reverting the scaling |
Definition at line 419 of file Coordinate.cs.
References Objects3D.Coordinate.FX, Objects3D.Coordinate.FY, and Objects3D.Coordinate.FZ.
Referenced by Objects3D.Coordinate.Scale().
| bool Objects3D.Coordinate.Scale | ( | Coordinate | ACoordinate, | |
| float | AMultiplier, | |||
| bool | APositive | |||
| ) |
Scales the coordinate values.
Scale
| [in] | coordinate | instance |
| [in] | multiplier | for scaling values |
| [in] | value | for reverting the scaling |
Definition at line 459 of file Coordinate.cs.
References Objects3D.Coordinate.Scale(), Objects3D.Coordinate.X, Objects3D.Coordinate.Y, and Objects3D.Coordinate.Z.
| bool Objects3D.Coordinate.Translate | ( | float | AX, | |
| float | AY, | |||
| float | AZ, | |||
| bool | APositive | |||
| ) |
Translates the coordinate.
Translate
| [in] | X | translation value |
| [in] | Y | translation value |
| [in] | Z | translation value |
| [in] | value | for reverting the translation |
Definition at line 485 of file Coordinate.cs.
References Objects3D.Coordinate.FX, Objects3D.Coordinate.FY, and Objects3D.Coordinate.FZ.
Referenced by Objects3D.Coordinate.Translate().
| bool Objects3D.Coordinate.Translate | ( | Coordinate | ACoordinate, | |
| bool | APositive | |||
| ) |
Translates the coordinate.
Translate
| [in] | coordinate | instance |
| [in] | value | for reverting the translation |
Definition at line 515 of file Coordinate.cs.
References Objects3D.Coordinate.Translate(), Objects3D.Coordinate.X, Objects3D.Coordinate.Y, and Objects3D.Coordinate.Z.
| static float Objects3D.Coordinate.DegToRad | ( | float | AAngle | ) | [static] |
Method returning radian measure value of passed degree angle.
DegToRad
| [in] | AAngle | angle in degree |
Definition at line 538 of file Coordinate.cs.
| static float Objects3D.Coordinate.RadToDeg | ( | float | AAngle | ) | [static] |
Method returning degree value of passed radian measure angle.
RadToDeg
| [in] | AAngle | angle in radian measure |
Definition at line 554 of file Coordinate.cs.
float Objects3D.Coordinate.FX [protected] |
Definition at line 24 of file Coordinate.cs.
Referenced by Objects3D.Coordinate.Assign(), Objects3D.Coordinate.Coordinate(), Objects3D.Coordinate.Equals(), Objects3D.Coordinate.GetBytes(), Objects3D.Coordinate.Rotate(), Objects3D.Coordinate.Scale(), and Objects3D.Coordinate.Translate().
float Objects3D.Coordinate.FY [protected] |
Definition at line 25 of file Coordinate.cs.
Referenced by Objects3D.Coordinate.Assign(), Objects3D.Coordinate.Coordinate(), Objects3D.Coordinate.Equals(), Objects3D.Coordinate.GetBytes(), Objects3D.Coordinate.Rotate(), Objects3D.Coordinate.Scale(), and Objects3D.Coordinate.Translate().
float Objects3D.Coordinate.FZ [protected] |
Definition at line 26 of file Coordinate.cs.
Referenced by Objects3D.Coordinate.Assign(), Objects3D.Coordinate.Coordinate(), Objects3D.Coordinate.Equals(), Objects3D.Coordinate.GetBytes(), Objects3D.Coordinate.Rotate(), Objects3D.Coordinate.Scale(), and Objects3D.Coordinate.Translate().
Objects3D.Coordinate::ByteSize [static, get] |
Property containing the length of the binary representation of Coordinate.
Definition at line 71 of file Coordinate.cs.
Referenced by Objects3D.Coordinate.GetBytes(), and Objects3D.Coordinate.SetBytes().
Objects3D.Coordinate::OnAssigned [get, set] |
Wrapper around field FOnAssigned().
Definition at line 86 of file Coordinate.cs.
Referenced by Objects3D.Cube.Cube().
Objects3D.Coordinate::X [get, set] |
Property containing the X-value.
Definition at line 106 of file Coordinate.cs.
Referenced by Objects3D.Coordinate.Assign(), Objects3D.Player.Draw(), Objects3D.Coordinate.Equals(), Objects3D.Cube.IsInBoundingBox(), Cubes3D.ClientHandler.Paint(), Objects3D.Coordinate.Rotate(), Objects3D.Coordinate.Scale(), Cubes3D.ServerHandler.ServerTimerTick(), Cubes3D.ServerHandler.StartServerReceiver(), and Objects3D.Coordinate.Translate().
Objects3D.Coordinate::Y [get, set] |
Property containing the Y-value.
Definition at line 126 of file Coordinate.cs.
Referenced by Objects3D.Coordinate.Assign(), Objects3D.Player.Draw(), Objects3D.Coordinate.Equals(), Objects3D.Cube.IsInBoundingBox(), Cubes3D.ClientHandler.Paint(), Objects3D.Coordinate.Rotate(), Objects3D.Coordinate.Scale(), Cubes3D.ServerHandler.ServerTimerTick(), Cubes3D.ServerHandler.StartServerReceiver(), and Objects3D.Coordinate.Translate().
Objects3D.Coordinate::Z [get, set] |
Property containing the Z-value.
Definition at line 146 of file Coordinate.cs.
Referenced by Objects3D.Coordinate.Assign(), Objects3D.Player.Draw(), Objects3D.Coordinate.Equals(), Objects3D.Cube.IsInBoundingBox(), Cubes3D.ClientHandler.Paint(), Objects3D.Coordinate.Rotate(), Objects3D.Coordinate.Scale(), Cubes3D.ServerHandler.ServerTimerTick(), Cubes3D.ServerHandler.StartServerReceiver(), and Objects3D.Coordinate.Translate().
OnChangedHandler Objects3D.Coordinate.FOnAssigned [protected] |
1.5.6