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 |
---|---|
Color |
component1()
|
float |
component2()
Width of the lane in meters
|
float |
component3()
Length of each single arrow of the lane
|
LaneVisualParams |
copy(Color color,
float width,
float arrowLength)
Parameters used by
class VisionArView to draw AR lane. |
boolean |
equals(java.lang.Object p) |
float |
getArrowLength()
Length of each single arrow of the lane
|
Color |
getColor()
|
float |
getWidth()
Width of the lane in meters
|
int |
hashCode() |
java.lang.String |
toString() |
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
public Color component1()
of the lane
class Color
public float component2()
Width of the lane in meters
public float component3()
Length of each single arrow of the lane
public LaneVisualParams copy(Color color, float width, float arrowLength)
Parameters used by class VisionArView
to draw AR lane.
class VisionArView
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)