public class LaneVisualParams
Parameters used by class VisionArView
to draw AR lane.
class VisionArView
Modifier and Type | Class and Description |
---|---|
static class |
LaneVisualParams.Companion |
Modifier and Type | Field and Description |
---|---|
static LaneVisualParams.Companion |
Companion |
static float |
LANE_ARROW_DEFAULT_LENGTH |
static float |
LANE_DEFAULT_WIDTH |
Constructor and Description |
---|
LaneVisualParams(Color color,
float width,
float arrowLength)
Parameters used by
class VisionArView to draw AR lane. |
LaneVisualParams()
Parameters used by
class VisionArView to draw AR lane. |
Modifier and Type | Method and Description |
---|---|
float |
getArrowLength()
Length of each single arrow of the lane
|
Color |
getColor()
|
float |
getWidth()
Width of the lane in meters
|
public static float LANE_DEFAULT_WIDTH
public static float LANE_ARROW_DEFAULT_LENGTH
public static LaneVisualParams.Companion Companion
public LaneVisualParams(Color color, float width, float arrowLength)
Parameters used by class VisionArView
to draw AR lane.
color
- class Color
of the lanewidth
- Width of the lane in metersarrowLength
- Length of each single arrow of the laneclass VisionArView
public LaneVisualParams()
Parameters used by class VisionArView
to draw AR lane.
class VisionArView
public Color getColor()
of the lane
class Color
public float getWidth()
Width of the lane in meters
public float getArrowLength()
Length of each single arrow of the lane