public class ArFence
State of an AR fence in the world space.
Constructor and Description |
---|
ArFence(com.mapbox.vision.mobile.core.models.BezierCubic3D curve,
float offset)
State of an AR fence in the world space.
|
Modifier and Type | Method and Description |
---|---|
com.mapbox.vision.mobile.core.models.BezierCubic3D |
component1()
Cubic spline describing geometry of the AR fence
|
float |
component2()
The direction of horizontal offset from the spline.
|
ArFence |
copy(com.mapbox.vision.mobile.core.models.BezierCubic3D curve,
float offset)
State of an AR fence in the world space.
|
boolean |
equals(java.lang.Object p) |
com.mapbox.vision.mobile.core.models.BezierCubic3D |
getCurve()
Cubic spline describing geometry of the AR fence
|
float |
getOffset()
The direction of horizontal offset from the spline.
|
int |
hashCode() |
java.lang.String |
toString() |
public ArFence(com.mapbox.vision.mobile.core.models.BezierCubic3D curve, float offset)
State of an AR fence in the world space.
curve
- Cubic spline describing geometry of the AR fenceoffset
- The direction of horizontal offset from the spline.1.0 stands for the offset to the right side of the road,-1.0 stands for the offset to the left side of the road.public com.mapbox.vision.mobile.core.models.BezierCubic3D getCurve()
Cubic spline describing geometry of the AR fence
public float getOffset()
The direction of horizontal offset from the spline.
1.0 stands for the offset to the right side of the road,-1.0 stands for the offset to the left side of the road.
public com.mapbox.vision.mobile.core.models.BezierCubic3D component1()
Cubic spline describing geometry of the AR fence
public float component2()
The direction of horizontal offset from the spline.
1.0 stands for the offset to the right side of the road,-1.0 stands for the offset to the left side of the road.
public ArFence copy(com.mapbox.vision.mobile.core.models.BezierCubic3D curve, float offset)
State of an AR fence in the world space.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)