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 |
component1()
|
float |
component2()
Fence height in meters
|
float |
component3()
Vertical offset from the surface of the road in meters
|
float |
component4()
Horizontal offset from center of road in meters
|
int |
component5()
Number of sections that the fence consists of
|
FenceVisualParams |
copy(Color color,
float height,
float verticalOffset,
float horizontalOffset,
int sectionsCount)
Parameters used by
class VisionArView to draw AR fence. |
boolean |
equals(java.lang.Object p) |
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
|
int |
hashCode() |
java.lang.String |
toString() |
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
public Color component1()
of the fence
class Color
public float component2()
Fence height in meters
public float component3()
Vertical offset from the surface of the road in meters
public float component4()
Horizontal offset from center of road in meters
public int component5()
Number of sections that the fence consists of
public FenceVisualParams copy(Color color, float height, float verticalOffset, float horizontalOffset, int sectionsCount)
Parameters used by class VisionArView
to draw AR fence.
class VisionArView
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)