Click or drag to resize

MassData Structure

This holds the mass data computed for a shape.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Internal.tainicom.Aether.Physics2D.Collision.ShapesMassData

Namespace: Internal.tainicom.Aether.Physics2D.Collision.Shapes
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public struct MassData : IEquatable<MassData>

The MassData type exposes the following members.

Properties
 NameDescription
Public propertyArea The area of the shape
Public propertyCentroid The position of the shape's centroid relative to the shape's origin.
Public propertyInertia The rotational inertia of the shape about the local origin.
Public propertyMass The mass of the shape, usually in kilograms.
Top
Methods
 NameDescription
Public methodEquals(MassData) 
Public methodEquals(Object)
(Overrides ValueTypeEquals(Object))
Public methodGetHashCode
(Overrides ValueTypeGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(MassData, MassData) The equal operator
Public operatorStatic memberInequality(MassData, MassData) The not equal operator
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also