definida interfaz para sólidos rígidos
This commit is contained in:
23
Q01-Cálculos/IRigidBody.cs
Normal file
23
Q01-Cálculos/IRigidBody.cs
Normal file
@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Q01_Cálculos
|
||||
{
|
||||
/// <summary>
|
||||
/// Definimos una interfaz para normalizar clases que representan un cuerpo rígido con masa
|
||||
/// </summary>
|
||||
public interface IRigidBody
|
||||
{
|
||||
public string Name { get; }
|
||||
public float Mass { get; }
|
||||
public Vector3 CenterOfMass { get; }
|
||||
public Vector3 Weight{ get; }
|
||||
|
||||
public int GetChildItemCount(bool Recursive);
|
||||
string Summary(int pad = 0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user