Definition at line 50 of file PlaneType.hh.
◆ Plane() [1/2]
ACG::Geometry::Plane::Plane |
( |
| ) |
|
|
inline |
◆ Plane() [2/2]
◆ get_normal()
ACG::Vec3d ACG::Geometry::Plane::get_normal |
( |
| ) |
const |
◆ get_position()
ACG::Vec3d ACG::Geometry::Plane::get_position |
( |
| ) |
const |
◆ get_xDirection()
ACG::Vec3d ACG::Geometry::Plane::get_xDirection |
( |
| ) |
const |
◆ get_yDirection()
ACG::Vec3d ACG::Geometry::Plane::get_yDirection |
( |
| ) |
const |
◆ setPlane() [1/2]
Set plane with given normal and one point.
- Parameters
-
_position | One point on the plane. Will be used as corner point for rendering in the PlaneNode |
_normal | Plane normal |
Definition at line 58 of file PlaneType.cc.
◆ setPlane() [2/2]
Set plane.
- Parameters
-
_position | One point on the plane. Will be used as corner point point for rendering in the PlaneNode |
_xDirection | Vector pointing in planes x direction |
_yDirection | Vector pointing in planes y direction |
Definition at line 48 of file PlaneType.cc.
◆ setSize()
void ACG::Geometry::Plane::setSize |
( |
double |
_xDirection, |
|
|
double |
_yDirection |
|
) |
| |
Set plane size.
Scales the plane such that the x and y direction vectors have the given lengths
- Parameters
-
_xDirection | Size in x direction |
_yDirection | Size in y direction |
Definition at line 100 of file PlaneType.cc.
◆ transform()
Transform the plane with given matrix.
- Parameters
-
_mat | Transformation matrix. |
Definition at line 89 of file PlaneType.cc.
◆ normal
◆ position
◆ xDirection
◆ yDirection
The documentation for this class was generated from the following files: