Class used to set the properties of the box used in POV-Ray output. More...
Public Member Functions | |
| Box () | |
| Constructor to set the coordinates and colour of this box. More... | |
| void | setColor (float r, float g, float b) |
| Set the colour that will be used to represent this box. More... | |
| void | setCorner1 (double x, double y, double z) |
| Set the coordinates of the first corner of this box. More... | |
| void | setCorner2 (double x, double y, double z) |
| Set the coordinates of the second corner of this box. More... | |
| String | toString () |
| Summarise the characteristics of this box as a string. More... | |
Class used to set the properties of the box used in POV-Ray output.
Class used to set the properties of the box used in POV-Ray output
| povray.Box.Box | ( | ) |
Constructor to set the coordinates and colour of this box.
Constructor to set the coordinates and colour of this box
| void povray.Box.setColor | ( | float | r, |
| float | g, | ||
| float | b | ||
| ) |
Set the colour that will be used to represent this box.
Set the colour that will be used to represent this box
| r | The amount of red in the colour required |
| g | The amount of green in the colour required |
| b | The amount of blue in the colour required |
| void povray.Box.setCorner1 | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) |
Set the coordinates of the first corner of this box.
Set the coordinates of the first corner this box
| x | Double value X coordinate |
| y | Double value Y coordinate |
| z | Double value Z coordinate |
| void povray.Box.setCorner2 | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) |
Set the coordinates of the second corner of this box.
Set the coordinates of the second corner this box
| x | Double value X coordinate |
| y | Double value Y coordinate |
| z | Double value Z coordinate |
| String povray.Box.toString | ( | ) |
Summarise the characteristics of this box as a string.
Summarise the characteristics of this box as a string
1.8.3.1