66 #ifndef KJB_POLYMESH_PLANE_H
67 #define KJB_POLYMESH_PLANE_H
135 std::vector<int> face_indices;
155 face_indices = indices;
161 plane_params = params;
~Polymesh_Plane()
Deletes this Polymesh_Plane.
Definition: gr_polymesh_plane.cpp:91
This class implements vectors, in the linear-algebra sense, with real-valued elements.
Definition: m_vector.h:87
Abstract class of connected polygons (faces) forming a mesh.
This class contains a Vector of plane parameters, a vector of the face indices that lie in the plane...
Definition: gr_polymesh_plane.h:83
Polymesh_Plane & operator=(const Polymesh_Plane &)
Copies a Polymesh_Plane into this one.
Definition: gr_polymesh_plane.cpp:102
Abstract class of connected polygons (faces) forming a mesh. We assume that each edge is shared betwe...
Definition: gr_polymesh.h:89
Polymesh_Plane(const Polymesh &p)
Constructs a polymesh_plane from a polymesh.
Definition: gr_polymesh_plane.cpp:62
void set_plane_params(Vector params)
Sets the Vector of plane coefficients.
Definition: gr_polymesh_plane.h:159
const Polymesh * get_polymesh() const
Returns the polymesh.
Definition: gr_polymesh_plane.h:148
void set_face_indices(std::vector< int > indices)
Sets the vector of indices that lies in the plane.
Definition: gr_polymesh_plane.h:153
std::vector< int > get_face_indices() const
Returns the indices of the faces that lie in the defined plane.
Definition: gr_polymesh_plane.h:138
Vector get_plane_params() const
Returns the coefficients of a plane.
Definition: gr_polymesh_plane.h:143