- Object
-
- ConvexCastResult
-
- All Implemented Interfaces:
Comparable<ConvexCastResult>
@Deprecated public class ConvexCastResult extends Object implements Comparable<ConvexCastResult>
Deprecated.Deprecated in 4.0.0. Use the ConvexCastResult in the world package instead.Represents the result of a convex cast.Note: this class has a natural ordering that is inconsistent with equals.
- Since:
- 3.1.5
- Version:
- 4.0.0
- Author:
- William Bittle
-
-
Constructor Summary
Constructors Constructor Description ConvexCastResult()
Deprecated.Default constructor.ConvexCastResult(Body body, BodyFixture fixture, TimeOfImpact timeOfImpact)
Deprecated.Full constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
compareTo(ConvexCastResult o)
Deprecated.Body
getBody()
Deprecated.Returns the body.BodyFixture
getFixture()
Deprecated.Returns the fixture on the body with the smallest time of impact.TimeOfImpact
getTimeOfImpact()
Deprecated.Returns the time of impact information.void
setBody(Body body)
Deprecated.Sets the body.void
setFixture(BodyFixture fixture)
Deprecated.Sets the fixture with the smallest time of impact.void
setTimeOfImpact(TimeOfImpact timeOfImpact)
Deprecated.Sets the time of impact information.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
ConvexCastResult
public ConvexCastResult()
Deprecated.Default constructor.
-
ConvexCastResult
public ConvexCastResult(Body body, BodyFixture fixture, TimeOfImpact timeOfImpact)
Deprecated.Full constructor.- Parameters:
body
- the bodyfixture
- the fixturetimeOfImpact
- the time of impact
-
-
Method Detail
-
compareTo
public int compareTo(ConvexCastResult o)
Deprecated.- Specified by:
compareTo
in interfaceComparable<ConvexCastResult>
-
getFixture
public BodyFixture getFixture()
Deprecated.Returns the fixture on the body with the smallest time of impact.- Returns:
BodyFixture
-
getTimeOfImpact
public TimeOfImpact getTimeOfImpact()
Deprecated.Returns the time of impact information.- Returns:
TimeOfImpact
-
setFixture
public void setFixture(BodyFixture fixture)
Deprecated.Sets the fixture with the smallest time of impact.- Parameters:
fixture
- the fixture
-
setTimeOfImpact
public void setTimeOfImpact(TimeOfImpact timeOfImpact)
Deprecated.Sets the time of impact information.- Parameters:
timeOfImpact
- the time of impact
-
-