Click or drag to resize

Sweep Structure

This describes the motion of a body/shape for TOI computation. Shapes are defined with respect to the body origin, which may no coincide with the center of mass. However, to support dynamics we must interpolate the center of mass position.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Internal.tainicom.Aether.Physics2D.CommonSweep

Namespace: Internal.tainicom.Aether.Physics2D.Common
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public struct Sweep

The Sweep type exposes the following members.

Methods
 NameDescription
Public methodAdvance Advance the sweep forward, yielding a new initial state.
Public methodEqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
Public methodGetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
Public methodGetTransform Get the interpolated transform at a specific time.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodNormalize Normalize the angles.
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
Fields
 NameDescription
Public fieldA World angles
Public fieldA0 
Public fieldAlpha0 Fraction of the current time step in the range [0,1] c0 and a0 are the positions at alpha0.
Public fieldC Center world positions
Public fieldC0 
Public fieldLocalCenter Local center of mass position
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