public interface ISoccerPitchDescription
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
float |
centerCircleRadius() |
float |
fieldHalfLength() |
float |
fieldHalfWith() |
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
getOtherGoalPosition()
Retrieve the position of the other goal (position between the goal posts).
|
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
getOwnGoalPosition()
Retrieve the position of the own goal (position between the goal posts).
|
float |
goalHalfWith() |
float |
goalHeight() |
boolean |
isInCenterCircleArea(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position,
float margin)
Checks if the given position is inside the center circle area and the
specified margin.
|
boolean |
isInOtherPenaltyArea(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position,
float margin)
Checks if the given position is inside the other penalty area and the
specified margin.
|
boolean |
isInOwnHalf(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position,
float margin)
Checks if the given position is inside the own half and the specified
margin.
|
boolean |
isInOwnPenaltyArea(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position,
float margin)
Checks if the given position is inside the own penalty area and the
specified margin.
|
boolean |
isInSoccerPitchArea(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position,
float margin)
Checks if the given position is inside the soccer pitch area and the
specified margin.
|
float |
penaltyHalfLength() |
float |
penaltyWith() |
float fieldHalfLength()
float fieldHalfWith()
float goalHalfWith()
float goalHeight()
float penaltyHalfLength()
float penaltyWith()
float centerCircleRadius()
org.apache.commons.math3.geometry.euclidean.threed.Vector3D getOwnGoalPosition()
org.apache.commons.math3.geometry.euclidean.threed.Vector3D getOtherGoalPosition()
boolean isInOwnPenaltyArea(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position, float margin)
position
- the position to testmargin
- the margin about which the own penalty area is enlarged
(positive values) or narrowed (negative values)boolean isInOwnHalf(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position, float margin)
position
- the position to testmargin
- the margin about which the area is enlarged (positive
values) or narrowed (negative values)boolean isInOtherPenaltyArea(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position, float margin)
position
- the position to testmargin
- the margin about which the own penalty area is enlarged
(positive values) or narrowed (negative values)boolean isInCenterCircleArea(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position, float margin)
position
- the position to testmargin
- the margin about which the own penalty area is enlarged
(positive values) or narrowed (negative values)boolean isInSoccerPitchArea(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position, float margin)
position
- the position to testmargin
- the margin about which the own penalty area is enlarged
(positive values) or narrowed (negative values)