- Object
-
- DetectResult
-
@Deprecated public class DetectResult extends Object
Deprecated.Deprecated in 4.0.0. Use the DetectResult class in the world package instead.Represents the result of a static detection of the world.- Since:
- 3.1.9
- Version:
- 4.0.0
- Author:
- William Bittle
-
-
Constructor Summary
Constructors Constructor Description DetectResult()
Deprecated.Default constructor.DetectResult(Body body, BodyFixture fixture)
Deprecated.Optional constructor.DetectResult(Body body, BodyFixture fixture, Penetration penetration)
Deprecated.Full constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Body
getBody()
Deprecated.Returns the overlapping body.BodyFixture
getFixture()
Deprecated.Returns the overlapping fixture.Penetration
getPenetration()
Deprecated.Returns the overlap penetration (collision data).void
setBody(Body body)
Deprecated.Sets the overlapping body.void
setFixture(BodyFixture fixture)
Deprecated.Sets the overlapping fixture.void
setPenetration(Penetration penetration)
Deprecated.Sets the overlap penetration (collision data).String
toString()
Deprecated.
-
-
-
Constructor Detail
-
DetectResult
public DetectResult()
Deprecated.Default constructor.
-
DetectResult
public DetectResult(Body body, BodyFixture fixture)
Deprecated.Optional constructor.- Parameters:
body
- the bodyfixture
- the fixture
-
DetectResult
public DetectResult(Body body, BodyFixture fixture, Penetration penetration)
Deprecated.Full constructor.- Parameters:
body
- the bodyfixture
- the fixturepenetration
- the penetration; can be null
-
-
Method Detail
-
setBody
public void setBody(Body body)
Deprecated.Sets the overlapping body.- Parameters:
body
- theBody
-
getFixture
public BodyFixture getFixture()
Deprecated.Returns the overlapping fixture.- Returns:
BodyFixture
-
setFixture
public void setFixture(BodyFixture fixture)
Deprecated.Sets the overlapping fixture.- Parameters:
fixture
- theBodyFixture
-
getPenetration
public Penetration getPenetration()
Deprecated.Returns the overlap penetration (collision data).This will return null if the collision data was flagged to not be included.
- Returns:
Penetration
-
setPenetration
public void setPenetration(Penetration penetration)
Deprecated.Sets the overlap penetration (collision data).- Parameters:
penetration
- thePenetration
; can be null
-
-