Is a type of Body representing a cuboid in 3D.
Definition BodyCuboid.h:35
virtual void setMaterialId(int material_id)
Configure the material id.
Definition BodyCuboid.h:54
virtual void create(Mesh &mesh, Material *material)
Create a cuboid in space.
int materialId
material identification
Definition BodyCuboid.h:71
virtual int getMaterialId() const
Return the material identification.
Definition BodyCuboid.h:58
Vector3d pointP2
higher right point
Definition BodyCuboid.h:69
void setPoints(const Vector3d &point_1, const Vector3d &point_2)
Configure the geometrical points of the cuboid.
Definition BodyCuboid.h:50
virtual ~BodyCuboid()
Default constructor.
Definition BodyCuboid.h:79
Vector3d pointP1
lower left point
Definition BodyCuboid.h:67
BodyCuboid()
Default constructor.
Definition BodyCuboid.h:74
Represents a body in the space forming by a group of materials points and identified by a number.
Definition Body.h:19