Dart Documentationbox2dDistanceOutput

DistanceOutput class

class DistanceOutput {
 /** Closest point on shapeA */
 final Vector pointA;

 /** Closest point on shapeB */
 final Vector pointB;

 num distance;

 /** number of gjk iterations used */
 int iterations;

 DistanceOutput() :
   pointA = new Vector(),
   pointB = new Vector() { }
}

Constructors

new DistanceOutput() #

DistanceOutput() :
 pointA = new Vector(),
 pointB = new Vector() { }

Properties

num distance #

num distance

int iterations #

number of gjk iterations used

int iterations

final Vector pointA #

Closest point on shapeA

final Vector pointA

final Vector pointB #

Closest point on shapeB

final Vector pointB