public class OrbitViewCollisionSupport
extends java.lang.Object
Constructor and Description |
---|
OrbitViewCollisionSupport() |
Modifier and Type | Method and Description |
---|---|
Position |
computeCenterPositionToResolveCollision(BasicOrbitView orbitView,
double nearDistance,
DrawContext dc) |
Angle |
computePitchToResolveCollision(BasicOrbitView orbitView,
double nearDistance,
DrawContext dc) |
double |
getCollisionThreshold() |
int |
getNumIterations() |
boolean |
isColliding(OrbitView orbitView,
double nearDistance,
DrawContext dc) |
void |
setCollisionThreshold(double collisionThreshold) |
void |
setNumIterations(int numIterations) |
public Position computeCenterPositionToResolveCollision(BasicOrbitView orbitView, double nearDistance, DrawContext dc)
public Angle computePitchToResolveCollision(BasicOrbitView orbitView, double nearDistance, DrawContext dc)
public double getCollisionThreshold()
public int getNumIterations()
public boolean isColliding(OrbitView orbitView, double nearDistance, DrawContext dc)
public void setCollisionThreshold(double collisionThreshold)
public void setNumIterations(int numIterations)