Packageorg.generalrelativity.foam.dynamics.collision.fine.sat
Classpublic class CircleAxisProjection
InheritanceCircleAxisProjection Inheritance AxisProjection



Public Properties
 PropertyDefined by
 Inheritedmax : Number
maximum point of projection along axis
AxisProjection
 Inheritedmin : Number
minimum point of projection along axis
AxisProjection
Public Methods
 MethodDefined by
  
Creates a new CircleAxisProjection
CircleAxisProjection
 Inherited
getDistance(projection:AxisProjection):Number
Gets a signed distance- negative indicates range overlap, zero indicates coincidence and positive indicates a separation
AxisProjection
Protected Methods
 MethodDefined by
  
project(body:IBody, axis:Vector):void
Projects the circle onto the axis
CircleAxisProjection
Constructor detail
CircleAxisProjection()constructor
public function CircleAxisProjection(circle:Circle, axis:Vector)

Creates a new CircleAxisProjection

Parameters
circle:Circle — Circle to project onto axis
 
axis:Vector — axis to project onto

See also

Method detail
project()method
protected override function project(body:IBody, axis:Vector):void

Projects the circle onto the axis

Parameters
body:IBody — IBody to project
 
axis:Vector — Vector to project onto

See also

AxisProjection.project