Data stored in a road map pixel. See URoadMap.
更多...
#include <RoadMap.h>
Data stored in a road map pixel. See URoadMap.
在文件 RoadMap.h 第 29 行定义.
◆ FRoadMapPixelData()
FRoadMapPixelData::FRoadMapPixelData |
( |
uint16 | inValue | ) |
|
|
inlineexplicit |
◆ Encode()
uint16 FRoadMapPixelData::Encode |
( |
bool | IsRoad, |
|
|
bool | HasDirection, |
|
|
const FVector & | Direction ) |
|
staticprivate |
◆ EncodeAsColor()
FColor FRoadMapPixelData::EncodeAsColor |
( |
| ) |
const |
◆ GetDirection()
FVector FRoadMapPixelData::GetDirection |
( |
| ) |
const |
|
inline |
Get the road direction at this pixel.
Undefined if !HasDirection().
在文件 RoadMap.h 第 72 行定义.
◆ GetDirectionAzimuthalAngle()
float FRoadMapPixelData::GetDirectionAzimuthalAngle |
( |
| ) |
const |
|
inline |
Get the azimuth angle [-PI, PI] of the road direction (in spherical coordinates) at this pixel.
Undefined if !HasDirection().
在文件 RoadMap.h 第 62 行定义.
被这些函数引用 EncodeAsColor().
◆ HasDirection()
bool FRoadMapPixelData::HasDirection |
( |
| ) |
const |
|
inline |
Whether this pixel has a direction defined (e.g.
road intersections are not off-road but neither have defined direction).
在文件 RoadMap.h 第 53 行定义.
被这些函数引用 Encode() , 以及 EncodeAsColor().
◆ IsRoad()
bool FRoadMapPixelData::IsRoad |
( |
| ) |
const |
|
inline |
◆ URoadMap
◆ AngleMask
constexpr uint16 FRoadMapPixelData::AngleMask = (0xFFFF >> 2) |
|
staticconstexpr |
◆ HasDirectionRow
constexpr int FRoadMapPixelData::HasDirectionRow = 14 |
|
staticconstexpr |
◆ IsRoadRow
constexpr int FRoadMapPixelData::IsRoadRow = 15 |
|
staticconstexpr |
◆ MaximumEncodedAngle
constexpr uint16 FRoadMapPixelData::MaximumEncodedAngle = (1 << 14) - 1 |
|
staticconstexpr |
◆ Value
uint16 FRoadMapPixelData::Value |
|
private |
该结构体的文档由以下文件生成: