A type of Body representing a cuboid in 3D.
Definition BodyCuboid.h:33
virtual void setMaterialId(int material_id)
Configure the material id.
Definition BodyCuboid.h:52
virtual void create(Mesh &mesh, Material *material)
Create a cuboid in space.
int materialId
material identification
Definition BodyCuboid.h:69
virtual int getMaterialId() const
Return the material identification.
Definition BodyCuboid.h:56
Vector3d pointP2
higher right point
Definition BodyCuboid.h:67
void setPoints(const Vector3d &point_1, const Vector3d &point_2)
Configure the geometrical points of the cuboid.
Definition BodyCuboid.h:48
virtual ~BodyCuboid()
Default constructor.
Definition BodyCuboid.h:77
Vector3d pointP1
lower left point
Definition BodyCuboid.h:65
BodyCuboid()
Default constructor.
Definition BodyCuboid.h:72
Represents a body in the space forming by a group of materials points and identified by a number.
Definition Body.h:15