Plane.hh
00001 /* 00002 * Copyright 2011 Nate Koenig & Andrew Howard 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 * 00016 */ 00017 #ifndef PLANE_HH 00018 #define PLANE_HH 00019 00020 #include "math/Vector3.hh" 00021 #include "math/Vector2d.hh" 00022 00023 namespace gazebo 00024 { 00025 namespace math 00026 { 00029 00031 class Plane 00032 { 00034 public: Plane(); 00035 00040 public: Plane(const Vector3 &_normal, const Vector2d &_size, 00041 double _offset); 00042 00044 public: virtual ~Plane(); 00045 00050 public: void Set(const Vector3 &_normal, const Vector2d &_size, 00051 double offset); 00052 00055 public: const Plane &operator=(const Plane &_p); 00056 00058 public: Vector3 normal; 00059 00061 public: Vector2d size; 00062 00064 public: double d; 00065 }; 00067 } 00068 } 00069 #endif

1.7.5.1