public class FenceVisualParams
Parameters used by class VisionArView
to draw AR fence.
class VisionArView
Modifier and Type | Class and Description |
---|---|
static class |
FenceVisualParams.Companion |
Modifier and Type | Field and Description |
---|---|
static FenceVisualParams.Companion |
Companion |
static float |
FENCE_DEFAULT_HEIGHT |
static float |
FENCE_DEFAULT_HORIZONTAL_OFFSET |
static int |
FENCE_DEFAULT_SECTIONS_COUNT |
static float |
FENCE_DEFAULT_VERTICAL_OFFSET |
Constructor and Description |
---|
FenceVisualParams(Color color,
float height,
float verticalOffset,
float horizontalOffset,
int sectionsCount)
Parameters used by
class VisionArView to draw AR fence. |
FenceVisualParams()
Parameters used by
class VisionArView to draw AR fence. |
Modifier and Type | Method and Description |
---|---|
Color |
getColor()
|
float |
getHeight()
Fence height in meters
|
float |
getHorizontalOffset()
Horizontal offset from center of road in meters
|
int |
getSectionsCount()
Number of sections that the fence consists of
|
float |
getVerticalOffset()
Vertical offset from the surface of the road in meters
|
public static float FENCE_DEFAULT_HEIGHT
public static float FENCE_DEFAULT_VERTICAL_OFFSET
public static float FENCE_DEFAULT_HORIZONTAL_OFFSET
public static int FENCE_DEFAULT_SECTIONS_COUNT
public static FenceVisualParams.Companion Companion
public FenceVisualParams(Color color, float height, float verticalOffset, float horizontalOffset, int sectionsCount)
Parameters used by class VisionArView
to draw AR fence.
color
- class Color
of the fenceheight
- Fence height in metersverticalOffset
- Vertical offset from the surface of the road in metershorizontalOffset
- Horizontal offset from center of road in meterssectionsCount
- Number of sections that the fence consists ofclass VisionArView
public FenceVisualParams()
Parameters used by class VisionArView
to draw AR fence.
class VisionArView
public Color getColor()
of the fence
class Color
public float getHeight()
Fence height in meters
public float getVerticalOffset()
Vertical offset from the surface of the road in meters
public float getHorizontalOffset()
Horizontal offset from center of road in meters
public int getSectionsCount()
Number of sections that the fence consists of