This class contains a Vector of plane parameters, a vector of the face indices that lie in the plane, and the polymesh that the faces are from. The plane parameters are the coefficients of a plane of the form ax + by + cz + d = 0.
More...
#include <gr_polymesh_plane.h>
This class contains a Vector of plane parameters, a vector of the face indices that lie in the plane, and the polymesh that the faces are from. The plane parameters are the coefficients of a plane of the form ax + by + cz + d = 0.
Polymesh_Plane::Polymesh_Plane |
( |
const Polymesh & |
p | ) |
|
Constructs a polymesh_plane from a polymesh.
- Parameters
-
Polymesh_Plane::Polymesh_Plane |
( |
const Polymesh & |
p, |
|
|
Vector & |
params, |
|
|
std::vector< int > & |
indices |
|
) |
| |
Constructs a polymesh_plane with a polymesh, plane parameters, and a vector of face indices.
- Parameters
-
p | the polymesh |
params | the vector of coefficients of the plane |
indices | the vector of indices of the faces in the polymesh p that lie in the plane defined by params |
Copy constructor.
- Parameters
-
Polymesh_Plane::~Polymesh_Plane |
( |
| ) |
|
std::vector< int > kjb::Polymesh_Plane::get_face_indices |
( |
| ) |
const |
|
inline |
Returns the indices of the faces that lie in the defined plane.
Vector kjb::Polymesh_Plane::get_plane_params |
( |
| ) |
const |
|
inline |
Returns the coefficients of a plane.
const Polymesh * kjb::Polymesh_Plane::get_polymesh |
( |
| ) |
const |
|
inline |
Copies a Polymesh_Plane into this one.
Performs a deep copy of the plane parameters and face indices.
- Parameters
-
- Returns
- A reference to this Polymesh_Plane.
void kjb::Polymesh_Plane::set_face_indices |
( |
std::vector< int > |
indices | ) |
|
|
inline |
Sets the vector of indices that lies in the plane.
void kjb::Polymesh_Plane::set_plane_params |
( |
Vector |
params | ) |
|
|
inline |
Sets the Vector of plane coefficients.
The documentation for this class was generated from the following files: