载入中...
搜索中...
未找到
RoadTypes.h 文件参考
#include "common/Result.h"
#include <cstdint>
#include <string>
#include <vector>

浏览源代码.

类

struct  eve::procgen::road::RoadControlPoint
 One authored control point on a road centerline (world space, Y-up). 更多...
 
struct  eve::procgen::road::RoadStyle
 Cross-section and structural style for one road edge. 更多...
 
struct  eve::procgen::road::RoadNode
 Junction node owned by a road network. 更多...
 
struct  eve::procgen::road::RoadEdge
 Directed centerline edge with optional reverse lanes. 更多...
 
struct  eve::procgen::road::RoadEdgeSplitResult
 Stable identities produced by one atomic edge split. 更多...
 
struct  eve::procgen::road::RoadLaneConnection
 One legal lane-to-lane connection inside a junction. 更多...
 
struct  eve::procgen::road::RoadPolyline
 One renderer-neutral polyline chunk for navigation / marking overlays. 更多...
 
struct  eve::procgen::road::RoadOverlay
 Owning bake-time overlay snapshot (no pointers into the network). 更多...
 
struct  eve::procgen::road::RoadProfilePoint
 One 2D profile sample in the edge local (side, up) plane. 更多...
 
struct  eve::procgen::road::RoadProfile
 Owning open profile polyline for one edge style and lane layout. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::procgen
 
namespace  eve::procgen::road
 

枚举

enum class  eve::procgen::road::RoadJunctionControl : std::uint8_t { eve::procgen::road::Uncontrolled = 0 , eve::procgen::road::Yield , eve::procgen::road::Stop , eve::procgen::road::Signal }
 Authoritative traffic-control policy applied to every approach of one junction node. 更多...
 
enum class  eve::procgen::road::RoadLaneDirection : std::uint8_t { eve::procgen::road::Forward = 0 , eve::procgen::road::Backward }
 Travel direction of a lane relative to the authored edge centerline. 更多...
 
enum class  eve::procgen::road::RoadMaterial : std::uint8_t {
  eve::procgen::road::Asphalt = 0 , eve::procgen::road::Curb , eve::procgen::road::Sidewalk , eve::procgen::road::Deck ,
  eve::procgen::road::Pier , eve::procgen::road::Marking , eve::procgen::road::MarkingYellow , eve::procgen::road::Nav
}
 Profile material tags used when lofting a road cross-section. 更多...
 

函数

Result< RoadProfile > eve::procgen::road::makeRoadProfile (const RoadStyle &style, int lanesForward, int lanesBackward)
 Build a mathematical road cross-section for the given lane counts.
 
const char * eve::procgen::road::roadMaterialGroup (RoadMaterial material) noexcept
 Map a material tag to the MeshBuild group name used by the baker. @ownership borrowed — returns a pointer to a static string literal; callers must not free it. @lifetime Program lifetime; the pointer remains valid for the process.