#include <point.h>
Inherited by node.
Public Member Functions | |
point () | |
void | setLabel (long l) |
long | getLabel () |
void | setCoordinates (vector3d c) |
void | setCoordinates (double x, double y, double z) |
void | setCoordinates (int dof, double value) |
vector3d | getCoordinates () |
void | clearCoordinates () |
Attributes and methods for a point in space
point::point | ( | ) |
Standard Constructor creates a point at the global origin
void point::setLabel | ( | long | l | ) |
Sets the label of the point to label
long point::getLabel | ( | ) |
Returns the label of the point
void point::setCoordinates | ( | vector3d | c | ) |
Sets the coordinates to coords
void point::setCoordinates | ( | double | x, | |
double | y, | |||
double | z | |||
) |
Sets the coordinates to x, y,z
void point::setCoordinates | ( | int | dof, | |
double | value | |||
) |
Sets the coordinates of degree of freedom dof to value
vector3d point::getCoordinates | ( | ) |
Returns the coordinates of the point
void point::clearCoordinates | ( | ) |
Resets the coordinates to 0 0 0