Version 1.2 (June 2013)
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
povray.VectorProperty Class Reference

Class used by the majority of POV-Ray scripts to represent coordinates and colours as vector properties for use in POV-Ray. More...

Inheritance diagram for povray.VectorProperty:

Public Member Functions

 VectorProperty (String name)
 Constructor to create the object and give it a specific name. More...
 
void setValues (double x, double y, double z)
 Set the values of this vector property, storing the values provided into the array. More...
 
void setValues (double x, double y, double z, double w)
 Set the values of this vector property for a object of 4 values, storing the values provided into the array. More...
 
String toString ()
 Summarise this vector object as a string. More...
 

Detailed Description

Class used by the majority of POV-Ray scripts to represent coordinates and colours as vector properties for use in POV-Ray.

Class used by the majority of POV-Ray scripts to represent coordinates and colours as vector properties for use in POV-Ray

Author
João Xavier (xavie.nosp@m.rj@m.nosp@m.skcc..nosp@m.org), Memorial Sloan-Kettering Cancer Center (NY, USA)

Constructor & Destructor Documentation

povray.VectorProperty.VectorProperty ( String  name)

Constructor to create the object and give it a specific name.

Constructor to create the object and give it a specific name

Parameters
nameName to be assigned to this vector property object

Member Function Documentation

void povray.VectorProperty.setValues ( double  x,
double  y,
double  z 
)

Set the values of this vector property, storing the values provided into the array.

Set the values of this vector property, storing the values provided into the array

Parameters
xEither an X coordinate or an amount of red in a colour
yEither an Y coordinate or an amount of green in a colour
zEither an Z coordinate or an amount of blue in a colour
void povray.VectorProperty.setValues ( double  x,
double  y,
double  z,
double  w 
)

Set the values of this vector property for a object of 4 values, storing the values provided into the array.

Set the values of this vector property for a object of 4 values, storing the values provided into the array

Parameters
xValue of this vector object
yValue of this vector object
zValue of this vector object
wValue of this vector object
String povray.VectorProperty.toString ( )

Summarise this vector object as a string.

Summarise this vector object as a string

Returns
String value summarising this vector object

The documentation for this class was generated from the following file: