Aether.Physics2D  1.6
tainicom.Aether.Physics2D.Common Namespace Reference

Classes

struct  Complex
 
class  Constant
 
struct  FixedArray2
 
struct  FixedArray3
 
struct  FixedArray4
 
struct  FixedArray8
 
class  LineTools
 Collection of helper methods for misc collisions. Does float tolerance and line collisions with lines and AABBs.
 
class  MathUtils
 
struct  Mat22
 A 2-by-2 matrix. Stored in column-major order. More...
 
struct  Mat33
 A 3-by-3 matrix. Stored in column-major order. More...
 
struct  Transform
 A transform contains translation and rotation. It is used to represent the position and orientation of rigid frames. More...
 
struct  Sweep
 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. More...
 
class  Path
 Path: Very similar to Vertices, but this class contains vectors describing control points on a Catmull-Rom curve. More...
 
class  PathManager
 An easy to use manager for creating paths.
 
class  PolygonTools
 
class  WorldSerializer
 Serialize the world into an XML file
 
class  WorldXmlSerializer
 
class  WorldXmlDeserializer
 
class  XMLFragmentAttribute
 
class  XMLFragmentElement
 
class  XMLFragmentException
 
class  FileBuffer
 
class  XMLFragmentParser
 
struct  Vector2
 
struct  Vector3
 
class  Vertices
 

Enumerations

enum class  PolygonError {
  NoError , InvalidAmountOfVertices , NotSimple , NotCounterClockWise ,
  NotConvex , AreaTooSmall , SideTooSmall
}
 

Enumeration Type Documentation

◆ PolygonError

enum PolygonError
strong
Enumerator
NoError 

There were no errors in the polygon

InvalidAmountOfVertices 

Polygon must have between 3 and Settings.MaxPolygonVertices vertices.

NotSimple 

Polygon must be simple. This means no overlapping edges.

NotCounterClockWise 

Polygon must have a counter clockwise winding.

NotConvex 

The polygon is concave, it needs to be convex.

AreaTooSmall 

Polygon area is too small.

SideTooSmall 

The polygon has a side that is too short.