------------------------------------------------------------------------------
| 87 | |
| 88 | //------------------------------------------------------------------------------ |
| 89 | void vtkPlane::SetNormal(double x, double y, double z) |
| 90 | { |
| 91 | if ((this->Normal[0] != x) || (this->Normal[1] != y) || (this->Normal[2] != z)) |
| 92 | { |
| 93 | this->Normal[0] = x; |
| 94 | this->Normal[1] = y; |
| 95 | this->Normal[2] = z; |
| 96 | this->Modified(); |
| 97 | this->InternalUpdates(); |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | //------------------------------------------------------------------------------ |
| 102 | void vtkPlane::SetNormal(const double normal[3]) |