类 | |
| struct | JunctionPlane |
| struct | RoadFrameCache |
| struct | RoadSurfacePolyline |
| Borrowed section centers plus owned cumulative lengths, valid only during the owning bake/cache lifetime. 更多... | |
| struct | RoadSurfaceRows |
| One bake's sole owner of retained road frames and shared scan work; no callbacks or cross-bake reuse. 更多... | |
| struct | V3 |
枚举 | |
| enum class | TriangulationStatus { Complete , Degenerate } |
| Module-private road bake implementation helper. 更多... | |
| enum class | BoundaryPointPolicy { IgnoreCollinear , IncludeBoundary } |
| enum class | QuadDiagonal { FirstToThird , SecondToFourth } |
| Module-private road bake implementation helper. 更多... | |
函数 | |
| void | reverseSectionGeometry (std::vector< RoadProfilePoint > §ion, bool closed) |
| Reflect an owning section and preserve outgoing segment semantics. | |
| Result< void > | validateSection (const std::vector< RoadProfilePoint > &points, bool closed) |
| Validate bounded simple section geometry and semantic material tags. | |
| Result< void > | validateRoadAuthoring (const RoadStyle &style) |
| Validate structural intervals and continuous-facility authoring. | |
| void | reverseRoadAuthoring (RoadStyle &style) |
| Reflect section and interval authoring while preserving physical placement. | |
| void | reverseFacilityPrefab (RoadFacilityPrefab &prefab) |
| Reflect an owned prefab into reverse traversal coordinates, including its segment sequence/window. | |
| Result< std::pair< RoadStyle, RoadStyle > > | splitRoadAuthoring (const RoadEdge &edge, std::size_t pointIndex) |
| Clip/remap normalized arc intervals into owning first/second styles. | |
| float | roadSurfaceHeight (const RoadStyle &style, float lateral) |
| Return custom asphalt height at one unscaled driving lateral position. | |
| Result< void > | validateFacilityPrefab (const RoadFacilityPrefab &prefab) |
| Validate finite source mesh topology and bounded source ranges. | |
| V3 | operator+ (V3 a, V3 b) |
| Module-private road bake implementation helper. | |
| V3 | operator- (V3 a, V3 b) |
| Module-private road bake implementation helper. | |
| V3 | operator* (V3 a, float s) |
| Module-private road bake implementation helper. | |
| float | dot (V3 a, V3 b) |
| Module-private road bake implementation helper. | |
| V3 | cross (V3 a, V3 b) |
| Module-private road bake implementation helper. | |
| float | length (V3 a) |
| Module-private road bake implementation helper. | |
| V3 | normalize (V3 a) |
| Module-private road bake implementation helper. | |
| bool | isMeshBudgetExceeded (const MeshBuild &mesh, const RoadBakeOptions &options) |
| Module-private road bake implementation helper. | |
| float | junctionTrimDistance (float pathLength, float requestedRadius) |
| Module-private road bake implementation helper. | |
| int | circularArcSegments (float radius, float angle, float maximumError) |
| Module-private road bake implementation helper. | |
| int | quadraticSegments (V3 start, V3 control, V3 end, float angle, float maximumError) |
| Module-private road bake implementation helper. | |
| Result< SplinePath > | edgeToSpline (const RoadEdge &edge) |
| Module-private road bake implementation helper. | |
| V3 | authoredOutwardDirection (const RoadNode &node, const RoadEdge &edge) |
| Module-private road bake implementation helper. | |
| float | asphaltHalfWidth (const RoadEdge &edge) |
| Module-private road bake implementation helper. | |
| float | scaledProfileSide (float side, float asphaltHalf, float scale) |
| Module-private transverse width transform preserving fixed-width shoulders. | |
| float | profileAsphaltHalfWidth (const RoadProfile &profile) |
| Module-private driving-surface half-width from a generated profile. | |
| float | maximumAsphaltHalfWidth (const RoadEdge &edge) |
| Module-private conservative half-width bound for varying-width junction sockets. | |
| float | junctionSocketDistance (const RoadNetwork &network, const RoadNode &node, const RoadEdge &edge, float pathLength) |
| Module-private road bake implementation helper. | |
| float | planeHeight (const JunctionPlane &plane, float x, float z) |
| Module-private road bake implementation helper. | |
| JunctionPlane | fitJunctionPlane (const RoadNetwork &network, const RoadNode &node) |
| Module-private road bake implementation helper. | |
| Result< void > | validateJunctionGeometry (const RoadNetwork &network, const RoadNode &node) |
| Module-private road bake implementation helper. | |
| void | blendFrameToJunctionPlane (SplineFrameSample &frame, const JunctionPlane &plane, float weight) |
| Module-private road bake implementation helper. | |
| float | signedAreaXZ (const std::vector< V3 > &polygon) |
| Module-private road bake implementation helper. | |
| float | crossXZ (V3 a, V3 b, V3 c) |
| Module-private road bake implementation helper. | |
| bool | isPointInTriangleXZ (V3 p, V3 a, V3 b, V3 c, float orientation) |
| Module-private road bake implementation helper. | |
| TriangulationStatus | triangulateBoundary (const std::vector< V3 > &polygon, std::vector< std::array< std::size_t, 3 > > &triangles, BoundaryPointPolicy boundaryPolicy) |
| float | laneCenterOffset (const RoadStyle &style, int lanesForward, int lanesBackward, int laneIndex, RoadLaneDirection direction) |
| Module-private road bake implementation helper. | |
| void | appendBox (MeshBuild &mesh, V3 center, V3 side, V3 up, V3 forward, float hx, float hy, float hz, RoadMaterial material) |
| Module-private road bake implementation helper. | |
| void | appendStripQuad (MeshBuild &mesh, V3 a, V3 b, V3 c, V3 d, V3 normal, float u0, float u1, float v0, float v1, RoadMaterial material, QuadDiagonal diagonal=QuadDiagonal::FirstToThird) |
| Emit a bounded strip quad with the selected physical diagonal and unchanged vertex attributes. | |
| void | appendOrientedQuad (MeshBuild &mesh, V3 a, V3 b, V3 c, V3 d, V3 normal, float u0, float u1, float v0, float v1, RoadMaterial material, QuadDiagonal diagonal) |
Emit a quad whose winding matches normal (mesh3D expects object-space CCW). | |
| void | appendOrientedTri (MeshBuild &mesh, V3 a, V3 b, V3 c, V3 normal, float uvMeters, RoadMaterial material) |
| Module-private road bake implementation helper. | |
| Result< void > | addDeckAndPiers (MeshBuild &mesh, const std::vector< SplineFrameSample > &frames, const RoadStyle &style, float halfWidth, float asphaltHalf, bool includePiers, std::size_t budget) |
| Module-private road bake implementation helper. | |
| Result< void > | addLaneMarkings (MeshBuild &mesh, const std::vector< SplineFrameSample > &frames, const RoadEdge &edge, float pathLength, const RoadBakeOptions &options) |
| Module-private road bake implementation helper. | |
| void | appendArrow (MeshBuild &mesh, V3 pos, V3 forward, V3 up, float size) |
| Module-private road bake implementation helper. | |
| Result< SplinePath > | edgeSplineForBake (const RoadEdge &edge) |
| float | junctionSocketDistanceForBake (const RoadNetwork &network, const RoadNode &node, const RoadEdge &edge, float pathLength) |
| Result< void > | bakeEdgeGeometry (MeshBuild &mesh, RoadOverlay &overlay, const RoadNetwork &network, const RoadEdge &edge, const RoadBakeOptions &options, const std::unordered_set< std::uint32_t > &activeJunctionNodes, const std::unordered_set< std::uint32_t > &terminalNodes, RoadFrameCache &frameCache) |
| Bake one edge. | |
| Result< void > | validateFacilityRoutes (const RoadNetwork &network, const RoadNode &node) |
| Validate explicit one-to-one routes, compatible sections and live incident endpoint ownership. | |
| bool | isFacilityContinued (const RoadNetwork &network, std::uint32_t nodeId, const RoadEdge &edge, const RoadContinuousFacility &facility) |
| Query compatible degree-two facility continuation; no retained peer pointer. | |
| Result< void > | bakeFacilityContinuations (MeshBuild &mesh, const RoadNetwork &network, const RoadBakeOptions &options, const std::unordered_set< std::uint32_t > &activeNodes) |
| Fill compatible continuous-facility gaps across active degree-two junction sockets. | |
| ResultRef< const std::vector< SplineFrameSample > > | prepareRoadFrames (RoadFrameCache &cache, const SplinePath &path, const RoadEdge &edge, const RoadBakeOptions &options, float length) |
| Prepare once per immutable edge/options snapshot. Borrowed result expires with cache destruction. Synchronous bake-owner thread only. At most 4097 frames per edge; scan work shares the network budget. | |
| Result< RoadSurfacePolyline > | prepareSurfacePolyline (std::span< const SplineFrameSample > frames) |
| Prepare a bounded piecewise road-center metric; rejects degenerate segments without publishing output. | |
| Result< SplineFrameSample > | sampleSurfacePolyline (const RoadSurfacePolyline &path, float distance) |
| Sample one owned frame by segment direction; endpoints extrapolate, widths clamp to endpoint values. @cost Logarithmic in retained road rows; no spline scan or allocations per anchor. | |
| Result< SplineSample > | closestSurfacePolyline (const RoadSurfacePolyline &path, float x, float y, float z) |
| Closest owned center sample for collision checks, linear in retained road rows. | |
| Result< float > | sideTerrainHeight (const RoadSideTerrainRule &rule, eve::IProcgenWorldQuery &query, float x, float z, const ProcgenPoint &pose, const std::array< float, 6 > *assetBounds, const RoadBakeOptions &options, std::size_t &work) |
| Bounded height-only projection; provider and options are borrowed synchronously, no callbacks retained. | |
| Result< std::vector< SplineFrameSample > > | sampleRoadFrames (const SplinePath &path, const RoadEdge &edge, const RoadBakeOptions &options, float length, std::size_t &samplingWork) |
| Module-private bounded sampling; zero metric spacing retains explicit fixed interval counts. | |
| Result< std::vector< SplineFrameSample > > | sampleRoadParametricFrames (const SplinePath &path, const RoadEdge &edge, const RoadBakeOptions &options, std::size_t &samplingWork) |
| Module-private bounded parameter scan; pose construction remains owned by SplinePath. | |
| Result< void > | bakeFacilityPrefab (MeshBuild &mesh, const RoadFacilityPrefab &prefab, const std::vector< SplineFrameSample > &frames, float sourceLow, float sourceHigh, float fullSourceLength, std::size_t budget) |
| Clip source triangles into frame slabs and deform their positions and inverse-transpose normals. | |
| Result< V3 > | sampleSurfaceProfilePoint (const RoadSurfacePolyline &path, float distance, float side, float asphaltHalf) |
| Sample a profile-side offset from actual retained row vectors and widths, not a reconstructed normal. @cost Logarithmic row lookup; endpoint offsets clamp while the center extrapolates. | |
| template<class T > | |
| Result< T > | bakeFail (DiagnosticCode code, std::string message, std::string path={}) |
| Result< V3 > | sideTerrainNormal (eve::IProcgenWorldQuery &query, float x, float z, const RoadBakeOptions &options, std::size_t &work) |
| Borrow the center surface normal with the same network-wide projection budget; no retained provider. | |
| Result< void > | loftProfileClean (MeshBuild &mesh, const std::vector< SplineFrameSample > &frames, const RoadProfile &profile, float pathLength, float uvMeters, RoadMaterial asphaltMaterial, std::size_t budget, int subdivisions=1) |
| Module-private road bake implementation helper. | |
| Result< void > | capProfileRing (MeshBuild &mesh, const SplineFrameSample &frame, const RoadProfile &profile, bool outward) |
| Module-private road bake implementation helper. | |
| void | capProfileShoulders (MeshBuild &mesh, const SplineFrameSample &frame, const RoadProfile &profile, bool outward) |
| Module-private road bake implementation helper. | |
| Result< void > | bakeStructuralGeometry (MeshBuild &mesh, const std::vector< SplineFrameSample > &frames, const RoadEdge &edge, const RoadProfile &profile, float pathLength, const RoadBakeOptions &options) |
| Module-private road bake implementation helper. | |
| Result< void > | bakeContinuousFacilities (MeshBuild &mesh, const std::vector< SplineFrameSample > &frames, const RoadNetwork &network, const RoadEdge &edge, float pathLength, const RoadBakeOptions &options, const std::unordered_set< std::uint32_t > &activeNodes) |
| Sweep continuous facilities and clip them to exact interval/socket boundaries. | |
| Result< void > | bakeJunction (MeshBuild &mesh, const RoadNetwork &network, const RoadNode &node, const RoadBakeOptions &options) |
| Module-private road bake implementation helper. | |
| Result< void > | bakeTurnOverlays (MeshBuild &mesh, RoadOverlay &overlay, const RoadNetwork &network, const RoadBakeOptions &options, const std::unordered_set< std::uint32_t > &activeJunctionNodes) |
| Module-private road bake implementation helper. | |
| Result< void > | bakePlacementPoints (PointSet &placements, const RoadNetwork &network, const RoadBakeOptions &options, const std::unordered_set< std::uint32_t > &activeJunctionNodes, RoadFrameCache &frameCache) |
| Module-private road bake implementation helper. | |
| Result< void > | bakeTrafficControlPoints (PointSet &placements, const RoadNetwork &network, const RoadBakeOptions &options) |
| Result< void > | validateConnectionAsset (const RoadConnection &connection) |
| Validate the owned asset, local frames, indexed topology and exact mesh boundary seams. | |
| Result< void > | validateConnectionBindings (const RoadNetwork &network, const RoadNode &node) |
| Validate node-local edge bindings against the sole authoritative graph. | |
| float | connectionSocketDistance (const RoadNode &node, const RoadEdge &edge, float length) |
| Return deterministic arc-distance to the bound custom socket (zero when absent). | |
| Result< void > | validateConnectionSeams (const RoadNetwork &network, const RoadNode &node) |
| Validate actual baked spline sockets against every full custom asset seam. | |
| Result< void > | bakeCustomConnection (MeshBuild &mesh, const RoadNetwork &network, const RoadNode &node, const RoadBakeOptions &options) |
| Append the validated custom connection mesh with its node transform. | |
| Result< void > | sealRoadGeometrySources (MeshBuild &mesh, std::span< const RoadGeometrySourceSpan > spans) |
| Seal producer-owned intervals into full-mesh metadata; synchronous borrowed inputs, atomic metadata write. | |
| Result< void > | validateTerrainTiles (const std::vector< RoadTerrainTile > &tiles) |
| Validate bounded independent channel topologies, normalization and stable resource identities. | |
变量 | |
| constexpr std::string_view | algorithmRevision = "road-core-2026-10-16-circular-unrealizable-chord-v22" |
枚举类型说明
◆ BoundaryPointPolicy
|
strong |
| 枚举值 | |
|---|---|
| IgnoreCollinear | |
| IncludeBoundary | |
在文件 RoadBakeInternal.h 第 162 行定义.
◆ QuadDiagonal
|
strong |
Module-private road bake implementation helper.
| 枚举值 | |
|---|---|
| FirstToThird | |
| SecondToFourth | |
在文件 RoadBakeInternal.h 第 176 行定义.
◆ TriangulationStatus
|
strong |
Module-private road bake implementation helper.
| 枚举值 | |
|---|---|
| Complete | |
| Degenerate | |
在文件 RoadBakeInternal.h 第 161 行定义.
函数说明
◆ addDeckAndPiers()
| Result< void > eve::procgen::road::detail::addDeckAndPiers | ( | MeshBuild & | mesh, |
| const std::vector< SplineFrameSample > & | frames, | ||
| const RoadStyle & | style, | ||
| float | halfWidth, | ||
| float | asphaltHalf, | ||
| bool | includePiers, | ||
| std::size_t | budget | ||
| ) |
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 471 行定义.
引用了 a, appendBox(), appendStripQuad(), b, c, center, cross(), d, eve::procgen::road::Deck, eve::procgen::road::RoadStyle::deckThickness, halfWidth, length, mesh, normalize(), eve::procgen::road::Pier, eve::procgen::road::RoadStyle::pierClearance, eve::procgen::road::RoadStyle::pierDepth, eve::procgen::road::RoadStyle::pierSpacing, eve::procgen::road::RoadStyle::pierWidth, pos, eve::PreconditionViolation, scaledProfileSide(), eve::Result< T >::success(), t, up, used , 以及 eve::procgen::road::detail::V3::x.
被这些函数引用 bakeStructuralGeometry().
◆ addLaneMarkings()
| Result< void > eve::procgen::road::detail::addLaneMarkings | ( | MeshBuild & | mesh, |
| const std::vector< SplineFrameSample > & | frames, | ||
| const RoadEdge & | edge, | ||
| float | pathLength, | ||
| const RoadBakeOptions & | options | ||
| ) |
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 539 行定义.
引用了 a, appendStripQuad(), b, boundary, draw, edge, first, lateral, length, line, local, eve::procgen::road::Marking, eve::procgen::road::MarkingYellow, material, mesh, normalize(), offset, options, phase, eve::PreconditionViolation, roadSurfaceHeight(), second, eve::Result< T >::success() , 以及 eve::procgen::road::detail::V3::x.
被这些函数引用 bakeEdgeGeometry().
◆ appendArrow()
| void eve::procgen::road::detail::appendArrow | ( | MeshBuild & | mesh, |
| V3 | pos, | ||
| V3 | forward, | ||
| V3 | up, | ||
| float | size | ||
| ) |
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 652 行定义.
引用了 cross(), forward, left, mesh, eve::procgen::road::Nav, normalize(), pos, right, eve::procgen::road::roadMaterialGroup(), size, tip, up, eve::procgen::road::detail::V3::x, eve::procgen::road::detail::V3::y , 以及 eve::procgen::road::detail::V3::z.
被这些函数引用 bakeEdgeGeometry() , 以及 bakeTurnOverlays().
◆ appendBox()
| void eve::procgen::road::detail::appendBox | ( | MeshBuild & | mesh, |
| V3 | center, | ||
| V3 | side, | ||
| V3 | up, | ||
| V3 | forward, | ||
| float | hx, | ||
| float | hy, | ||
| float | hz, | ||
| RoadMaterial | material | ||
| ) |
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 402 行定义.
引用了 c, center, corners, f, forward, material, mesh, normals, p, eve::procgen::road::roadMaterialGroup() , 以及 up.
被这些函数引用 addDeckAndPiers().
◆ appendOrientedQuad()
| void eve::procgen::road::detail::appendOrientedQuad | ( | MeshBuild & | mesh, |
| V3 | a, | ||
| V3 | b, | ||
| V3 | c, | ||
| V3 | d, | ||
| V3 | normal, | ||
| float | u0, | ||
| float | u1, | ||
| float | v0, | ||
| float | v1, | ||
| RoadMaterial | material, | ||
| QuadDiagonal | diagonal | ||
| ) |
Emit a quad whose winding matches normal (mesh3D expects object-space CCW).
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 441 行定义.
引用了 a, appendStripQuad(), b, c, cross(), d, diagonal, dot(), material, mesh, n, normal , 以及 normalize().
被这些函数引用 bakeJunction() , 以及 loftProfileClean().
◆ appendOrientedTri()
| void eve::procgen::road::detail::appendOrientedTri | ( | MeshBuild & | mesh, |
| V3 | a, | ||
| V3 | b, | ||
| V3 | c, | ||
| V3 | normal, | ||
| float | uvMeters, | ||
| RoadMaterial | material | ||
| ) |
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 455 行定义.
引用了 a, b, c, cross(), dot(), material, mesh, n, normal, normalize() , 以及 eve::procgen::road::roadMaterialGroup().
被这些函数引用 bakeJunction().
◆ appendStripQuad()
| void eve::procgen::road::detail::appendStripQuad | ( | MeshBuild & | mesh, |
| V3 | a, | ||
| V3 | b, | ||
| V3 | c, | ||
| V3 | d, | ||
| V3 | normal, | ||
| float | u0, | ||
| float | u1, | ||
| float | v0, | ||
| float | v1, | ||
| RoadMaterial | material, | ||
| QuadDiagonal | diagonal | ||
| ) |
Emit a bounded strip quad with the selected physical diagonal and unchanged vertex attributes.
在文件 RoadBake.cpp 第 425 行定义.
引用了 a, across, b, c, cross(), d, diagonal, dot(), material, mesh, normal, eve::procgen::road::roadMaterialGroup() , 以及 SecondToFourth.
被这些函数引用 addDeckAndPiers(), addLaneMarkings(), appendOrientedQuad(), bakeEdgeGeometry() , 以及 bakeTurnOverlays().
◆ asphaltHalfWidth()
| float eve::procgen::road::detail::asphaltHalfWidth | ( | const RoadEdge & | edge | ) |
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 100 行定义.
引用了 eve::procgen::road::Asphalt, count, edge, material , 以及 points.
被这些函数引用 bakeContinuousFacilities(), bakeJunction(), bakeStructuralGeometry(), bakeTrafficControlPoints(), edgeToSpline(), junctionSocketDistance(), maximumAsphaltHalfWidth(), validateConnectionSeams() , 以及 validateJunctionGeometry().
◆ authoredOutwardDirection()
| V3 eve::procgen::road::detail::authoredOutwardDirection | ( | const RoadNode & | node, |
| const RoadEdge & | edge | ||
| ) |
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 93 行定义.
引用了 edge, node, normalize() , 以及 eve::procgen::road::detail::V3::x.
被这些函数引用 bakeJunction(), junctionSocketDistance() , 以及 validateJunctionGeometry().
◆ bakeContinuousFacilities()
| Result< void > eve::procgen::road::detail::bakeContinuousFacilities | ( | MeshBuild & | mesh, |
| const std::vector< SplineFrameSample > & | frames, | ||
| const RoadNetwork & | network, | ||
| const RoadEdge & | edge, | ||
| float | pathLength, | ||
| const RoadBakeOptions & | options, | ||
| const std::unordered_set< std::uint32_t > & | activeNodes | ||
| ) |
Sweep continuous facilities and clip them to exact interval/socket boundaries.
在文件 RoadBakeStructures.cpp 第 138 行定义.
引用了 asphaltHalfWidth(), bakeFacilityPrefab(), capProfileRing(), eve::procgen::road::RoadProfile::closed, eve::procgen::road::Curb, edge, eve::procgen::road::RoadProfile::explicitMaterials, facility, frame, isFacilityContinued(), isMeshBudgetExceeded(), lateral, loftProfileClean(), mesh, options, eve::procgen::road::RoadProfile::points, eve::PreconditionViolation, scaledProfileSide() , 以及 eve::Result< T >::success().
被这些函数引用 bakeEdgeGeometry().
◆ bakeCustomConnection()
| Result< void > eve::procgen::road::detail::bakeCustomConnection | ( | MeshBuild & | mesh, |
| const RoadNetwork & | network, | ||
| const RoadNode & | node, | ||
| const RoadBakeOptions & | options | ||
| ) |
Append the validated custom connection mesh with its node transform.
在文件 RoadConnection.cpp 第 172 行定义.
引用了 mesh, n, node, options, p, eve::procgen::road::roadMaterialGroup(), eve::Result< T >::success(), v , 以及 validateConnectionSeams().
被这些函数引用 bakeJunction().
◆ bakeEdgeGeometry()
| Result< void > eve::procgen::road::detail::bakeEdgeGeometry | ( | MeshBuild & | mesh, |
| RoadOverlay & | overlay, | ||
| const RoadNetwork & | network, | ||
| const RoadEdge & | edge, | ||
| const RoadBakeOptions & | options, | ||
| const std::unordered_set< std::uint32_t > & | activeJunctionNodes, | ||
| const std::unordered_set< std::uint32_t > & | terminalNodes, | ||
| RoadFrameCache & | frameCache | ||
| ) |
Bake one edge.
在文件 RoadBakeEdges.cpp 第 20 行定义.
引用了 addLaneMarkings(), appendArrow(), appendStripQuad(), eve::procgen::road::RoadPolyline::b, eve::procgen::road::Backward, bakeContinuousFacilities(), bakeStructuralGeometry(), blendFrameToJunctionPlane(), capProfileRing(), capProfileShoulders(), cross(), d, distance, edge, edgeToSpline(), eve::Result< T >::failure(), eve::procgen::road::detail::RoadSurfaceRows::firstVisible, fitJunctionPlane(), eve::procgen::road::Forward, frame, eve::procgen::road::detail::RoadSurfaceRows::frames, eve::procgen::road::RoadPolyline::g, eve::procgen::road::RoadPolyline::inDirection, eve::procgen::road::RoadPolyline::inEdge, eve::procgen::road::RoadPolyline::inLane, junctionSocketDistance(), laneCenterOffset(), eve::procgen::road::RoadOverlay::lanes, eve::procgen::road::detail::RoadSurfaceRows::lastVisible, lateral, length, eve::procgen::road::makeRoadProfile(), mesh, eve::procgen::road::Nav, eve::procgen::road::RoadNetwork::nodeResult(), normalize(), eve::NotFound, options, origin, eve::procgen::road::RoadPolyline::outDirection, pos, prepareRoadFrames(), eve::procgen::road::RoadPolyline::r, roadSurfaceHeight(), eve::procgen::road::RoadPolyline::speedLimitMps, spline, step, eve::Result< T >::success(), eve::procgen::road::detail::RoadFrameCache::surfaces, eve::procgen::road::SurfaceSegments, t, tip, eve::procgen::road::RoadPolyline::trafficPriority, up, eve::procgen::road::RoadPolyline::width, eve::procgen::road::detail::V3::x , 以及 eve::procgen::road::RoadPolyline::xyz.
◆ bakeFacilityContinuations()
| Result< void > eve::procgen::road::detail::bakeFacilityContinuations | ( | MeshBuild & | mesh, |
| const RoadNetwork & | network, | ||
| const RoadBakeOptions & | options, | ||
| const std::unordered_set< std::uint32_t > & | activeNodes | ||
| ) |
Fill compatible continuous-facility gaps across active degree-two junction sockets.
在文件 RoadBakeFacilityLinks.cpp 第 137 行定义.
引用了 a, b, bakeFacilityPrefab(), blendFrameToJunctionPlane(), eve::procgen::road::RoadProfile::closed, cross(), eve::procgen::road::Curb, edge, eve::procgen::road::RoadNetwork::edges(), edgeToSpline(), eve::procgen::road::RoadProfile::explicitMaterials, facility, eve::Result< T >::failure(), first, fitJunctionPlane(), forward, frame, junctionSocketDistance(), length, loftProfileClean(), mesh, node, eve::procgen::road::RoadNetwork::nodes(), normalize(), options, eve::procgen::road::RoadProfile::points, position, prefab, reverseFacilityPrefab(), reverseSectionGeometry(), eve::procgen::SplineFrameSample::sample, second, eve::Result< T >::success(), t, u, up, eve::procgen::road::detail::V3::x , 以及 eve::procgen::SplineSample::x.
◆ bakeFacilityPrefab()
| Result< void > eve::procgen::road::detail::bakeFacilityPrefab | ( | MeshBuild & | mesh, |
| const RoadFacilityPrefab & | prefab, | ||
| const std::vector< SplineFrameSample > & | frames, | ||
| float | sourceLow, | ||
| float | sourceHigh, | ||
| float | fullSourceLength, | ||
| std::size_t | budget | ||
| ) |
Clip source triangles into frame slabs and deform their positions and inverse-transpose normals.
在文件 RoadFacilityPrefab.cpp 第 93 行定义.
引用了 a, b, begin, caps, clip, count, cross(), dot(), end, found, index, indices, key, length, mesh, normal, normalize(), normals, offset, parts, position, positions, eve::PreconditionViolation, prefab, ratio, eve::procgen::road::roadMaterialGroup(), scale, eve::procgen::Smooth, eve::Result< T >::success(), t, triangle, triangles, u, up, v, valid, validateFacilityPrefab(), vertices, x, eve::procgen::road::detail::V3::x, y, z , 以及 eve::procgen::road::detail::V3::z.
被这些函数引用 bakeContinuousFacilities() , 以及 bakeFacilityContinuations().
◆ bakeFail()
| Result< T > eve::procgen::road::detail::bakeFail | ( | DiagnosticCode | code, |
| std::string | message, | ||
| std::string | path = {} |
||
| ) |
在文件 RoadBakeInternal.h 第 87 行定义.
被这些函数引用 sampleRoadParametricFrames().
◆ bakeJunction()
| Result< void > eve::procgen::road::detail::bakeJunction | ( | MeshBuild & | mesh, |
| const RoadNetwork & | network, | ||
| const RoadNode & | node, | ||
| const RoadBakeOptions & | options | ||
| ) |
Module-private road bake implementation helper.
在文件 RoadBakeJunctions.cpp 第 20 行定义.
引用了 a, angle, appendOrientedQuad(), appendOrientedTri(), eve::procgen::road::Asphalt, asphaltHalfWidth(), authoredOutwardDirection(), b, bakeCustomConnection(), blendFrameToJunctionPlane(), c, center, circularArcSegments(), Complete, corners, cross(), eve::procgen::road::Curb, cx, d, dot(), dx, dz, edge, eve::procgen::road::RoadNetwork::edges(), edgeToSpline(), end, f, first, fitJunctionPlane(), frame, eve::procgen::road::detail::JunctionPlane::gradeX, eve::procgen::road::detail::JunctionPlane::gradeZ, IgnoreCollinear, eve::InvariantViolation, junctionSocketDistance(), left, length, eve::procgen::road::makeRoadProfile(), eve::procgen::road::Marking, mesh, n, node, normalize(), offset, options, origin, planeHeight(), point, previous, quadraticSegments(), radius, result, right, s, second, segments, eve::procgen::road::Sidewalk, signedAreaXZ(), spline, eve::Result< T >::success(), sx, sz, t, tip, triangle, triangles, triangulateBoundary(), up, eve::procgen::road::detail::JunctionPlane::up, x, eve::procgen::road::detail::V3::x, eve::procgen::road::detail::V3::y, z , 以及 eve::procgen::road::detail::V3::z.
◆ bakePlacementPoints()
| Result< void > eve::procgen::road::detail::bakePlacementPoints | ( | PointSet & | placements, |
| const RoadNetwork & | network, | ||
| const RoadBakeOptions & | options, | ||
| const std::unordered_set< std::uint32_t > & | activeJunctionNodes, | ||
| RoadFrameCache & | frameCache | ||
| ) |
Module-private road bake implementation helper.
在文件 RoadBakePlacements.cpp 第 24 行定义.
引用了 adjacency, axis, bounds, edge, eve::procgen::road::RoadNetwork::edges(), found, halfWidth, eve::InvalidArgument, key, length, node, eve::procgen::road::RoadNetwork::nodes(), options, eve::PreconditionViolation, resolved, spline, terrainRules, eve::Unsupported , 以及 eve::Result< T >::value().
◆ bakeStructuralGeometry()
| Result< void > eve::procgen::road::detail::bakeStructuralGeometry | ( | MeshBuild & | mesh, |
| const std::vector< SplineFrameSample > & | frames, | ||
| const RoadEdge & | edge, | ||
| const RoadProfile & | profile, | ||
| float | pathLength, | ||
| const RoadBakeOptions & | options | ||
| ) |
Module-private road bake implementation helper.
在文件 RoadBakeStructures.cpp 第 58 行定义.
引用了 addDeckAndPiers(), eve::procgen::road::Asphalt, asphaltHalfWidth(), eve::procgen::road::Bridge, eve::procgen::road::BridgeAsphalt, capProfileRing(), center, eve::procgen::road::RoadProfile::closed, cuts, edge, eve::procgen::road::RoadStructureInterval::end, eve::procgen::road::RoadProfile::explicitMaterials, h, eve::procgen::road::RoadProfile::halfWidth, isMeshBudgetExceeded(), eve::procgen::road::RoadStructureInterval::kind, loftProfileClean(), material, mesh, options, eve::procgen::road::RoadProfile::points, eve::procgen::road::RoadStructureInterval::portalEndLength, eve::procgen::road::RoadStructureInterval::portalStartLength, eve::PreconditionViolation, eve::procgen::road::RoadStructureInterval::start, eve::Result< T >::success(), t, tag, tunnel, eve::procgen::road::Tunnel, eve::procgen::road::TunnelAsphalt, eve::procgen::road::RoadStructureInterval::tunnelHeight, eve::procgen::road::TunnelPortalAsphalt, w , 以及 eve::procgen::road::RoadStructureInterval::wallThickness.
被这些函数引用 bakeEdgeGeometry().
◆ bakeTrafficControlPoints()
| Result< void > eve::procgen::road::detail::bakeTrafficControlPoints | ( | PointSet & | placements, |
| const RoadNetwork & | network, | ||
| const RoadBakeOptions & | options | ||
| ) |
在文件 RoadTraffic.cpp 第 35 行定义.
引用了 eve::procgen::PointSet::add(), asphaltHalfWidth(), eve::procgen::road::Backward, eve::procgen::derivePointId(), eve::procgen::deriveSeed(), direction, distance, dx, dy, dz, edge, eve::procgen::road::RoadNetwork::edges(), edgeSplineForBake(), eve::Diagnostic::error(), f, eve::Result< T >::failure(), eve::procgen::road::Forward, forward, frame, eve::procgen::PointSet::getCount(), eve::ui::WidgetDesc::id, junctionSocketDistanceForBake(), lateral, length, eve::procgen::road::makeRoadProfile(), node, eve::procgen::road::RoadNetwork::nodes(), options, eve::PreconditionViolation, scaledProfileSide(), eve::procgen::PointSet::setNormal(), eve::procgen::PointSet::setPointSeed(), eve::procgen::PointSet::setYaw(), spline, status, eve::Result< T >::success(), eve::procgen::PointSet::trySetFloatAttribute(), eve::procgen::PointSet::trySetIntAttribute(), eve::procgen::PointSet::trySetPointId(), eve::procgen::PointSet::trySetStringAttribute(), eve::procgen::PointSet::trySetVectorAttribute(), eve::procgen::road::Uncontrolled, eve::Result< T >::value() , 以及 eve::procgen::road::Yield.
◆ bakeTurnOverlays()
| Result< void > eve::procgen::road::detail::bakeTurnOverlays | ( | MeshBuild & | mesh, |
| RoadOverlay & | overlay, | ||
| const RoadNetwork & | network, | ||
| const RoadBakeOptions & | options, | ||
| const std::unordered_set< std::uint32_t > & | activeJunctionNodes | ||
| ) |
Module-private road bake implementation helper.
在文件 RoadBakeNavigation.cpp 第 19 行定义.
引用了 a, appendArrow(), appendStripQuad(), b, eve::procgen::road::RoadPolyline::b, eve::procgen::road::Backward, blendFrameToJunctionPlane(), c, cross(), d, edge, eve::procgen::road::RoadNetwork::edgeResult(), eve::procgen::road::RoadNetwork::edges(), edgeToSpline(), eve::Result< T >::failure(), fitJunctionPlane(), eve::procgen::road::Forward, eve::procgen::road::RoadPolyline::g, handle, eve::procgen::road::RoadPolyline::inDirection, eve::procgen::road::RoadPolyline::inEdge, eve::procgen::road::RoadPolyline::inLane, isMeshBudgetExceeded(), junctionSocketDistance(), laneCenterOffset(), eve::procgen::road::RoadNetwork::laneLinks(), length, link, mesh, eve::procgen::road::Nav, node, nodeId, eve::procgen::road::RoadNetwork::nodeResult(), normalize(), options, eve::procgen::road::RoadPolyline::outDirection, eve::procgen::road::RoadPolyline::outEdge, eve::procgen::road::RoadPolyline::outLane, p, paths, eve::PreconditionViolation, eve::procgen::road::RoadPolyline::r, eve::procgen::road::RoadPolyline::speedLimitMps, spline, eve::Result< T >::success(), t, to, eve::procgen::road::RoadPolyline::trafficPriority, eve::procgen::road::RoadOverlay::turns, u, up, eve::procgen::road::RoadPolyline::width, eve::procgen::road::detail::V3::x , 以及 eve::procgen::road::RoadPolyline::xyz.
◆ blendFrameToJunctionPlane()
| void eve::procgen::road::detail::blendFrameToJunctionPlane | ( | SplineFrameSample & | frame, |
| const JunctionPlane & | plane, | ||
| float | weight | ||
| ) |
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 298 行定义.
引用了 cross(), dot(), forward, frame, eve::procgen::road::detail::JunctionPlane::gradeX, eve::procgen::road::detail::JunctionPlane::gradeZ, normalize(), planeHeight(), up, eve::procgen::road::detail::JunctionPlane::up, weight, eve::procgen::road::detail::V3::x, eve::procgen::road::detail::V3::y , 以及 eve::procgen::road::detail::V3::z.
被这些函数引用 bakeEdgeGeometry(), bakeFacilityContinuations(), bakeJunction() , 以及 bakeTurnOverlays().
◆ capProfileRing()
| Result< void > eve::procgen::road::detail::capProfileRing | ( | MeshBuild & | mesh, |
| const SplineFrameSample & | frame, | ||
| const RoadProfile & | profile, | ||
| bool | outward | ||
| ) |
Module-private road bake implementation helper.
Cap a lofted profile ring so junction-facing open U-channels are not see-through.
在文件 RoadBakeProfiles.cpp 第 123 行定义.
引用了 a, eve::procgen::road::Asphalt, b, c, eve::procgen::road::RoadProfile::closed, Complete, cross(), eve::procgen::road::Deck, dot(), eve::procgen::road::RoadProfile::explicitMaterials, frame, IncludeBoundary, eve::InvalidArgument, mesh, normalize(), origin, p, point, eve::procgen::road::RoadProfile::points, profileAsphaltHalfWidth(), eve::procgen::road::roadMaterialGroup(), scaledProfileSide(), eve::Result< T >::success(), triangles, triangulateBoundary(), up, eve::procgen::road::detail::V3::x, eve::procgen::road::detail::V3::y , 以及 eve::procgen::road::detail::V3::z.
被这些函数引用 bakeContinuousFacilities(), bakeEdgeGeometry() , 以及 bakeStructuralGeometry().
◆ capProfileShoulders()
| void eve::procgen::road::detail::capProfileShoulders | ( | MeshBuild & | mesh, |
| const SplineFrameSample & | frame, | ||
| const RoadProfile & | profile, | ||
| bool | outward | ||
| ) |
Module-private road bake implementation helper.
Close only curb/sidewalk shoulders at a tip — leave the asphalt U open.
Full capProfileRing draws a dark tip bar across the asphalt that reads as a salmon seam from above on large junction trims. Shoulder-only caps still stop see-through holes at the outer gray edge.
在文件 RoadBakeProfiles.cpp 第 180 行定义.
引用了 begin, capProfileShoulders(), count, end, frame, mesh, normalize(), origin, p, eve::procgen::road::RoadProfile::points, profileAsphaltHalfWidth(), eve::procgen::road::roadMaterialGroup(), scaledProfileSide(), up, eve::procgen::road::detail::V3::x, eve::procgen::road::detail::V3::y , 以及 eve::procgen::road::detail::V3::z.
被这些函数引用 bakeEdgeGeometry() , 以及 capProfileShoulders().
◆ circularArcSegments()
| int eve::procgen::road::detail::circularArcSegments | ( | float | radius, |
| float | angle, | ||
| float | maximumError | ||
| ) |
◆ closestSurfacePolyline()
| Result< SplineSample > eve::procgen::road::detail::closestSurfacePolyline | ( | const RoadSurfacePolyline & | path, |
| float | x, | ||
| float | y, | ||
| float | z | ||
| ) |
Closest owned center sample for collision checks, linear in retained road rows.
在文件 RoadSurfacePath.cpp 第 102 行定义.
引用了 a, b, best, dot(), eve::Result< T >::failure(), eve::InvalidArgument, path, sampleSurfacePolyline(), start, eve::Result< T >::success(), t, target, x, eve::procgen::road::detail::V3::x, y , 以及 z.
◆ connectionSocketDistance()
| float eve::procgen::road::detail::connectionSocketDistance | ( | const RoadNode & | node, |
| const RoadEdge & | edge, | ||
| float | pathLength | ||
| ) |
Return deterministic arc-distance to the bound custom socket (zero when absent).
在文件 RoadConnection.cpp 第 127 行定义.
引用了 edge, length, node , 以及 eve::procgen::road::detail::V3::x.
被这些函数引用 junctionSocketDistance() , 以及 validateConnectionSeams().
◆ cross()
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 29 行定义.
引用了 a, b , 以及 eve::procgen::road::detail::V3::y.
被这些函数引用 addDeckAndPiers(), appendArrow(), appendOrientedQuad(), appendOrientedTri(), appendStripQuad(), eve::procgen::road::bakeBridge(), bakeEdgeGeometry(), bakeFacilityContinuations(), bakeFacilityPrefab(), bakeJunction(), bakeTurnOverlays(), blendFrameToJunctionPlane(), capProfileRing(), loftProfileClean(), sampleSurfacePolyline(), validateConnectionAsset() , 以及 validateFacilityPrefab().
◆ crossXZ()
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 337 行定义.
被这些函数引用 isPointInTriangleXZ() , 以及 triangulateBoundary().
◆ dot()
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 28 行定义.
被这些函数引用 appendOrientedQuad(), appendOrientedTri(), appendStripQuad(), eve::procgen::road::bakeBridge(), bakeFacilityPrefab(), bakeJunction(), blendFrameToJunctionPlane(), capProfileRing(), closestSurfacePolyline(), junctionSocketDistance(), length(), sampleSurfacePolyline(), validateConnectionAsset(), validateConnectionSeams(), validateFacilityPrefab() , 以及 validateJunctionGeometry().
◆ edgeSplineForBake()
| Result< SplinePath > eve::procgen::road::detail::edgeSplineForBake | ( | const RoadEdge & | edge | ) |
◆ edgeToSpline()
| Result< SplinePath > eve::procgen::road::detail::edgeToSpline | ( | const RoadEdge & | edge | ) |
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 62 行定义.
引用了 eve::procgen::SplinePoint::alignStraightEnd, eve::procgen::SplinePoint::alignStraightStart, asphaltHalfWidth(), eve::procgen::road::CatmullRom, eve::procgen::CatmullRom, eve::procgen::SplinePoint::circularFromEnd, edge, eve::Result< T >::failure(), kind, eve::procgen::Linear, p, path, eve::procgen::SplinePoint::rollDegrees, eve::procgen::SplinePoint::rollInterpolation, eve::procgen::SplinePoint::rollPivotSide, eve::procgen::SplinePoint::scaleX, eve::procgen::SplinePoint::scaleXInterpolation, eve::procgen::SplinePath::setKindResult(), eve::procgen::road::SmoothStep, eve::procgen::SmoothStep, eve::procgen::SplinePoint::spanControl, eve::procgen::SplinePoint::spanStrength, eve::Result< T >::success(), eve::procgen::road::WorldUp, eve::procgen::SplinePoint::worldUpFrame, eve::procgen::SplinePoint::x, eve::procgen::SplinePoint::y , 以及 eve::procgen::SplinePoint::z.
被这些函数引用 bakeEdgeGeometry(), bakeFacilityContinuations(), bakeJunction(), eve::procgen::road::bakeRoadNetwork(), bakeTurnOverlays(), edgeSplineForBake(), fitJunctionPlane(), validateConnectionSeams() , 以及 validateJunctionGeometry().
◆ fitJunctionPlane()
| JunctionPlane eve::procgen::road::detail::fitJunctionPlane | ( | const RoadNetwork & | network, |
| const RoadNode & | node | ||
| ) |
Module-private road bake implementation helper.
Fit one bounded road plane through the authored node to all incident trim sockets.
在文件 RoadBake.cpp 第 197 行定义.
引用了 d, dx, dy, dz, edge, eve::procgen::road::RoadNetwork::edges(), edgeToSpline(), frame, junctionSocketDistance(), node, normalize(), spline , 以及 weight.
被这些函数引用 bakeEdgeGeometry(), bakeFacilityContinuations(), bakeJunction(), bakeTurnOverlays() , 以及 validateJunctionGeometry().
◆ isFacilityContinued()
| bool eve::procgen::road::detail::isFacilityContinued | ( | const RoadNetwork & | network, |
| std::uint32_t | nodeId, | ||
| const RoadEdge & | edge, | ||
| const RoadContinuousFacility & | facility | ||
| ) |
Query compatible degree-two facility continuation; no retained peer pointer.
在文件 RoadBakeFacilityLinks.cpp 第 133 行定义.
引用了 edge, facility , 以及 nodeId.
被这些函数引用 bakeContinuousFacilities().
◆ isMeshBudgetExceeded()
| bool eve::procgen::road::detail::isMeshBudgetExceeded | ( | const MeshBuild & | mesh, |
| const RoadBakeOptions & | options | ||
| ) |
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 37 行定义.
被这些函数引用 bakeContinuousFacilities(), eve::procgen::road::bakeRoadNetwork(), bakeStructuralGeometry() , 以及 bakeTurnOverlays().
◆ isPointInTriangleXZ()
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 339 行定义.
引用了 a, b, c, crossXZ() , 以及 p.
被这些函数引用 triangulateBoundary().
◆ junctionSocketDistance()
| float eve::procgen::road::detail::junctionSocketDistance | ( | const RoadNetwork & | network, |
| const RoadNode & | node, | ||
| const RoadEdge & | edge, | ||
| float | pathLength | ||
| ) |
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 146 行定义.
引用了 angle, asphaltHalfWidth(), authoredOutwardDirection(), connectionSocketDistance(), direction, dot(), edge, eve::procgen::road::RoadNetwork::edges(), halfWidth, junctionTrimDistance(), maximumAsphaltHalfWidth(), node, required, eve::procgen::road::detail::V3::x , 以及 eve::procgen::road::detail::V3::z.
被这些函数引用 bakeEdgeGeometry(), bakeFacilityContinuations(), bakeJunction(), eve::procgen::road::bakeRoadNetwork(), bakeTurnOverlays(), fitJunctionPlane(), junctionSocketDistanceForBake() , 以及 validateJunctionGeometry().
◆ junctionSocketDistanceForBake()
| float eve::procgen::road::detail::junctionSocketDistanceForBake | ( | const RoadNetwork & | network, |
| const RoadNode & | node, | ||
| const RoadEdge & | edge, | ||
| float | pathLength | ||
| ) |
在文件 RoadBake.cpp 第 679 行定义.
引用了 edge, junctionSocketDistance() , 以及 node.
被这些函数引用 bakeTrafficControlPoints().
◆ junctionTrimDistance()
| float eve::procgen::road::detail::junctionTrimDistance | ( | float | pathLength, |
| float | requestedRadius | ||
| ) |
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 42 行定义.
引用了 maximum.
被这些函数引用 junctionSocketDistance().
◆ laneCenterOffset()
| float eve::procgen::road::detail::laneCenterOffset | ( | const RoadStyle & | style, |
| int | lanesForward, | ||
| int | lanesBackward, | ||
| int | laneIndex, | ||
| RoadLaneDirection | direction | ||
| ) |
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 393 行定义.
引用了 eve::procgen::road::Backward, direction , 以及 eve::procgen::road::RoadStyle::laneWidth.
被这些函数引用 bakeEdgeGeometry() , 以及 bakeTurnOverlays().
◆ length()
| float eve::procgen::road::detail::length | ( | V3 | a | ) |
◆ loftProfileClean()
| Result< void > eve::procgen::road::detail::loftProfileClean | ( | MeshBuild & | mesh, |
| const std::vector< SplineFrameSample > & | frames, | ||
| const RoadProfile & | profile, | ||
| float | pathLength, | ||
| float | uvMeters, | ||
| RoadMaterial | asphaltMaterial, | ||
| std::size_t | budget, | ||
| int | subdivisions = 1 |
||
| ) |
Module-private road bake implementation helper.
在文件 RoadBakeProfiles.cpp 第 18 行定义.
引用了 a, appendOrientedQuad(), eve::procgen::road::Asphalt, b, eve::procgen::road::RoadProfile::closed, cross(), eve::procgen::road::Curb, eve::procgen::road::RoadProfile::explicitMaterials, frame, eve::InvalidArgument, material, mesh, normal, normalize(), origin, point, eve::procgen::road::RoadProfile::points, eve::PreconditionViolation, profileAsphaltHalfWidth(), eve::procgen::raster_detail::sample(), scaledProfileSide(), SecondToFourth, segments, selected, eve::Result< T >::success(), t, up , 以及 eve::procgen::road::detail::V3::x.
被这些函数引用 bakeContinuousFacilities(), bakeFacilityContinuations() , 以及 bakeStructuralGeometry().
◆ maximumAsphaltHalfWidth()
| float eve::procgen::road::detail::maximumAsphaltHalfWidth | ( | const RoadEdge & | edge | ) |
Module-private conservative half-width bound for varying-width junction sockets.
在文件 RoadBake.cpp 第 135 行定义.
引用了 asphaltHalfWidth(), eve::procgen::road::CatmullRom, edge, minimum, point , 以及 scale.
被这些函数引用 junctionSocketDistance().
◆ normalize()
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 31 行定义.
被这些函数引用 addDeckAndPiers(), addLaneMarkings(), appendArrow(), appendOrientedQuad(), appendOrientedTri(), authoredOutwardDirection(), bakeEdgeGeometry(), bakeFacilityContinuations(), bakeFacilityPrefab(), bakeJunction(), bakeTurnOverlays(), blendFrameToJunctionPlane(), capProfileRing(), capProfileShoulders(), fitJunctionPlane(), loftProfileClean(), sampleSurfacePolyline() , 以及 sideTerrainNormal().
◆ operator*()
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 27 行定义.
引用了 a, s , 以及 eve::procgen::road::detail::V3::x.
◆ operator+()
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 25 行定义.
引用了 a, b , 以及 eve::procgen::road::detail::V3::x.
◆ operator-()
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 26 行定义.
引用了 a, b , 以及 eve::procgen::road::detail::V3::x.
◆ planeHeight()
| float eve::procgen::road::detail::planeHeight | ( | const JunctionPlane & | plane, |
| float | x, | ||
| float | z | ||
| ) |
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 192 行定义.
引用了 eve::procgen::road::detail::JunctionPlane::gradeX, eve::procgen::road::detail::JunctionPlane::gradeZ, eve::procgen::road::detail::JunctionPlane::origin, x, eve::procgen::road::detail::V3::x, eve::procgen::road::detail::V3::y, z , 以及 eve::procgen::road::detail::V3::z.
被这些函数引用 bakeJunction(), blendFrameToJunctionPlane() , 以及 validateJunctionGeometry().
◆ prepareRoadFrames()
| ResultRef< const std::vector< SplineFrameSample > > eve::procgen::road::detail::prepareRoadFrames | ( | RoadFrameCache & | cache, |
| const SplinePath & | path, | ||
| const RoadEdge & | edge, | ||
| const RoadBakeOptions & | options, | ||
| float | length | ||
| ) |
Prepare once per immutable edge/options snapshot. Borrowed result expires with cache destruction. Synchronous bake-owner thread only. At most 4097 frames per edge; scan work shares the network budget.
在文件 RoadSampling.cpp 第 80 行定义.
引用了 edge, found, eve::procgen::road::detail::RoadFrameCache::frames, length, options, path, sampleRoadFrames() , 以及 eve::procgen::road::detail::RoadFrameCache::samplingWork.
被这些函数引用 bakeEdgeGeometry().
◆ prepareSurfacePolyline()
| Result< RoadSurfacePolyline > eve::procgen::road::detail::prepareSurfacePolyline | ( | std::span< const SplineFrameSample > | frames | ) |
Prepare a bounded piecewise road-center metric; rejects degenerate segments without publishing output.
在文件 RoadSurfacePath.cpp 第 7 行定义.
引用了 a, b, eve::procgen::road::detail::RoadSurfacePolyline::frames, eve::InvalidArgument, result, step , 以及 eve::Result< T >::success().
◆ profileAsphaltHalfWidth()
| float eve::procgen::road::detail::profileAsphaltHalfWidth | ( | const RoadProfile & | profile | ) |
Module-private driving-surface half-width from a generated profile.
在文件 RoadBake.cpp 第 121 行定义.
引用了 eve::procgen::road::Asphalt, eve::procgen::road::RoadProfile::closed, count, eve::procgen::road::RoadProfile::explicitMaterials, point, eve::procgen::road::RoadProfile::points , 以及 result.
被这些函数引用 capProfileRing(), capProfileShoulders() , 以及 loftProfileClean().
◆ quadraticSegments()
| int eve::procgen::road::detail::quadraticSegments | ( | V3 | start, |
| V3 | control, | ||
| V3 | end, | ||
| float | angle, | ||
| float | maximumError | ||
| ) |
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 54 行定义.
引用了 angle, end, length , 以及 start.
被这些函数引用 bakeJunction().
◆ reverseFacilityPrefab()
| void eve::procgen::road::detail::reverseFacilityPrefab | ( | RoadFacilityPrefab & | prefab | ) |
Reflect an owned prefab into reverse traversal coordinates, including its segment sequence/window.
在文件 RoadAuthoring.cpp 第 193 行定义.
引用了 length, prefab, start, v , 以及 vertices.
被这些函数引用 bakeFacilityContinuations() , 以及 reverseRoadAuthoring().
◆ reverseRoadAuthoring()
| void eve::procgen::road::detail::reverseRoadAuthoring | ( | RoadStyle & | style | ) |
Reflect section and interval authoring while preserving physical placement.
在文件 RoadAuthoring.cpp 第 174 行定义.
引用了 a, eve::procgen::road::RoadStyle::crossSection, eve::procgen::road::RoadStyle::crossSectionClosed, eve::procgen::road::RoadStyle::facilities, reverseFacilityPrefab(), reverseSectionGeometry() , 以及 eve::procgen::road::RoadStyle::structures.
◆ reverseSectionGeometry()
| void eve::procgen::road::detail::reverseSectionGeometry | ( | std::vector< RoadProfilePoint > & | section, |
| bool | closed | ||
| ) |
Reflect an owning section and preserve outgoing segment semantics.
在文件 RoadAuthoring.cpp 第 65 行定义.
引用了 source.
被这些函数引用 bakeFacilityContinuations() , 以及 reverseRoadAuthoring().
◆ roadSurfaceHeight()
| float eve::procgen::road::detail::roadSurfaceHeight | ( | const RoadStyle & | style, |
| float | lateral | ||
| ) |
Return custom asphalt height at one unscaled driving lateral position.
在文件 RoadAuthoring.cpp 第 253 行定义.
引用了 a, eve::procgen::road::Asphalt, b, count, eve::procgen::road::RoadStyle::crossSection, eve::procgen::road::RoadStyle::crossSectionClosed , 以及 lateral.
被这些函数引用 addLaneMarkings() , 以及 bakeEdgeGeometry().
◆ sampleRoadFrames()
| Result< std::vector< SplineFrameSample > > eve::procgen::road::detail::sampleRoadFrames | ( | const SplinePath & | path, |
| const RoadEdge & | edge, | ||
| const RoadBakeOptions & | options, | ||
| float | length, | ||
| std::size_t & | samplingWork | ||
| ) |
Module-private bounded sampling; zero metric spacing retains explicit fixed interval counts.
在文件 RoadSampling.cpp 第 17 行定义.
引用了 count, distance, edge, eve::InvalidArgument, length, maximum, options, eve::procgen::road::ParametricDistanceTurn, path, eve::PreconditionViolation, required, sampleRoadParametricFrames(), selected, size, spacing, step, target , 以及 turn.
被这些函数引用 prepareRoadFrames().
◆ sampleRoadParametricFrames()
| Result< std::vector< SplineFrameSample > > eve::procgen::road::detail::sampleRoadParametricFrames | ( | const SplinePath & | path, |
| const RoadEdge & | edge, | ||
| const RoadBakeOptions & | options, | ||
| std::size_t & | samplingWork | ||
| ) |
Module-private bounded parameter scan; pose construction remains owned by SplinePath.
在文件 RoadParameterSampling.cpp 第 19 行定义.
引用了 a, b, bakeFail(), chord, current, direction, distance, edge, EV_ASSERT, eve::InvalidArgument, options, parameter, parameters, path, points, eve::PreconditionViolation, previous, eve::procgen::raster_detail::sample(), segments, size, spacing, step, eve::Result< T >::success(), turn, u , 以及 eve::procgen::road::detail::V3::x.
被这些函数引用 sampleRoadFrames().
◆ sampleSurfacePolyline()
| Result< SplineFrameSample > eve::procgen::road::detail::sampleSurfacePolyline | ( | const RoadSurfacePolyline & | path, |
| float | distance | ||
| ) |
Sample one owned frame by segment direction; endpoints extrapolate, widths clamp to endpoint values. @cost Logarithmic in retained road rows; no spline scan or allocations per anchor.
在文件 RoadSurfacePath.cpp 第 34 行定义.
引用了 a, axis, b, cross(), distance, dot(), end, forward, index, eve::InvalidArgument, length, normalize(), path, result, eve::Result< T >::success(), t, up , 以及 eve::procgen::road::detail::V3::x.
被这些函数引用 closestSurfacePolyline().
◆ sampleSurfaceProfilePoint()
| Result< V3 > eve::procgen::road::detail::sampleSurfaceProfilePoint | ( | const RoadSurfacePolyline & | path, |
| float | distance, | ||
| float | side, | ||
| float | asphaltHalf | ||
| ) |
Sample a profile-side offset from actual retained row vectors and widths, not a reconstructed normal. @cost Logarithmic row lookup; endpoint offsets clamp while the center extrapolates.
在文件 RoadSurfacePath.cpp 第 82 行定义.
引用了 a, b, distance, end, index, eve::InvalidArgument, path, scaledProfileSide(), eve::Result< T >::success(), t, eve::procgen::road::detail::V3::x, eve::procgen::road::detail::V3::y , 以及 eve::procgen::road::detail::V3::z.
◆ scaledProfileSide()
| float eve::procgen::road::detail::scaledProfileSide | ( | float | side, |
| float | asphaltHalf, | ||
| float | scale | ||
| ) |
Module-private transverse width transform preserving fixed-width shoulders.
Compute a finite socket distance whose two mouth corners cannot cross an adjacent arm.
在文件 RoadBake.cpp 第 114 行定义.
引用了 scale.
被这些函数引用 addDeckAndPiers(), bakeContinuousFacilities(), bakeTrafficControlPoints(), capProfileRing(), capProfileShoulders(), loftProfileClean(), sampleSurfaceProfilePoint() , 以及 validateConnectionSeams().
◆ sealRoadGeometrySources()
| Result< void > eve::procgen::road::detail::sealRoadGeometrySources | ( | MeshBuild & | mesh, |
| std::span< const RoadGeometrySourceSpan > | spans | ||
| ) |
Seal producer-owned intervals into full-mesh metadata; synchronous borrowed inputs, atomic metadata write.
在文件 RoadGeometrySources.cpp 第 127 行定义.
引用了 mesh, rows, s , 以及 sealRoadGeometrySources().
被这些函数引用 eve::procgen::road::bakeRoadNetwork() , 以及 sealRoadGeometrySources().
◆ sideTerrainHeight()
| Result< float > eve::procgen::road::detail::sideTerrainHeight | ( | const RoadSideTerrainRule & | rule, |
| eve::IProcgenWorldQuery & | query, | ||
| float | x, | ||
| float | z, | ||
| const ProcgenPoint & | pose, | ||
| const std::array< float, 6 > * | assetBounds, | ||
| const RoadBakeOptions & | options, | ||
| std::size_t & | work | ||
| ) |
Bounded height-only projection; provider and options are borrowed synchronously, no callbacks retained.
在文件 RoadPlacementTerrain.cpp 第 31 行定义.
引用了 c, eve::procgen::road::Center, count, eve::Result< T >::failure(), forward, eve::procgen::road::Highest, hit, eve::InvalidArgument, layer, eve::procgen::road::Lowest, eve::procgen::road::RoadSideTerrainRule::maxForward, eve::procgen::road::RoadSideTerrainRule::maxSide, eve::procgen::road::RoadSideTerrainRule::minForward, eve::procgen::road::RoadSideTerrainRule::minSide, eve::procgen::road::RoadSideTerrainRule::mode, eve::NotFound, options, pose, eve::PreconditionViolation, px, pz, s, eve::procgen::road::RoadSideTerrainRule::samplesPerAxis, eve::Result< T >::success(), up, x , 以及 z.
◆ sideTerrainNormal()
| Result< V3 > eve::procgen::road::detail::sideTerrainNormal | ( | eve::IProcgenWorldQuery & | query, |
| float | x, | ||
| float | z, | ||
| const RoadBakeOptions & | options, | ||
| std::size_t & | work | ||
| ) |
Borrow the center surface normal with the same network-wide projection budget; no retained provider.
在文件 RoadPlacementTerrain.cpp 第 7 行定义.
引用了 eve::Result< T >::failure(), hit, eve::InvalidArgument, length, normal, normalize(), eve::NotFound, options, eve::PreconditionViolation, eve::Result< T >::success(), x , 以及 z.
◆ signedAreaXZ()
| float eve::procgen::road::detail::signedAreaXZ | ( | const std::vector< V3 > & | polygon | ) |
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 327 行定义.
引用了 a, area, b , 以及 eve::procgen::road::detail::V3::x.
被这些函数引用 bakeJunction() , 以及 triangulateBoundary().
◆ splitRoadAuthoring()
| Result< std::pair< RoadStyle, RoadStyle > > eve::procgen::road::detail::splitRoadAuthoring | ( | const RoadEdge & | edge, |
| std::size_t | pointIndex | ||
| ) |
Clip/remap normalized arc intervals into owning first/second styles.
在文件 RoadAuthoring.cpp 第 211 行定义.
引用了 eve::procgen::SplinePoint::alignStraightStart, clip, count, edge, eve::Diagnostic::error(), first, fraction, eve::InvalidArgument, kind, p, path, point, previous, eve::procgen::raster_detail::sample(), second , 以及 eve::procgen::SplinePath::setKindResult().
◆ triangulateBoundary()
| TriangulationStatus eve::procgen::road::detail::triangulateBoundary | ( | const std::vector< V3 > & | polygon, |
| std::vector< std::array< std::size_t, 3 > > & | triangles, | ||
| BoundaryPointPolicy | boundaryPolicy | ||
| ) |
Ear clipping keeps every sampled curb-return segment as a hard polygon boundary.
在文件 RoadBake.cpp 第 348 行定义.
引用了 area, Complete, crossXZ(), current, Degenerate, IncludeBoundary, isPointInTriangleXZ(), previous, signedAreaXZ() , 以及 triangles.
被这些函数引用 bakeJunction() , 以及 capProfileRing().
◆ validateConnectionAsset()
| Result< void > eve::procgen::road::detail::validateConnectionAsset | ( | const RoadConnection & | connection | ) |
Validate the owned asset, local frames, indexed topology and exact mesh boundary seams.
在文件 RoadConnection.cpp 第 27 行定义.
引用了 a, eve::procgen::road::RoadConnection::assetId, b, boundary, c, cross(), dot(), edges, forward, found, ids, indices, key, length, normal, origin, point, eve::procgen::road::RoadConnection::ports, position, eve::Result< T >::success(), triangle, eve::procgen::road::RoadConnection::triangles, eve::procgen::road::TunnelPortalAsphalt, up, validateSection(), eve::procgen::road::RoadConnection::vertices, eve::procgen::road::detail::V3::x , 以及 eve::procgen::road::RoadConnection::yawDegrees.
被这些函数引用 eve::procgen::road::RoadNetwork::restoreNode() , 以及 validateConnectionBindings().
◆ validateConnectionBindings()
| Result< void > eve::procgen::road::detail::validateConnectionBindings | ( | const RoadNetwork & | network, |
| const RoadNode & | node | ||
| ) |
Validate node-local edge bindings against the sole authoritative graph.
在文件 RoadConnection.cpp 第 110 行定义.
引用了 edge, eve::procgen::road::RoadNetwork::edgeResult(), eve::procgen::road::RoadNetwork::edges(), node, eve::Result< T >::success() , 以及 validateConnectionAsset().
被这些函数引用 validateConnectionSeams().
◆ validateConnectionSeams()
| Result< void > eve::procgen::road::detail::validateConnectionSeams | ( | const RoadNetwork & | network, |
| const RoadNode & | node | ||
| ) |
Validate actual baked spline sockets against every full custom asset seam.
在文件 RoadConnection.cpp 第 133 行定义.
引用了 asphaltHalfWidth(), bindings, connectionSocketDistance(), distance, dot(), edge, eve::procgen::road::RoadNetwork::edgeResult(), edgeToSpline(), f, eve::Result< T >::failure(), forward, found, frame, eve::procgen::road::makeRoadProfile(), node, origin, p, path, point, scaledProfileSide(), eve::Result< T >::success(), up, validateConnectionBindings(), eve::Result< T >::value() , 以及 eve::procgen::road::detail::V3::x.
被这些函数引用 bakeCustomConnection(), eve::procgen::road::RoadNetwork::validate() , 以及 validateJunctionGeometry().
◆ validateFacilityPrefab()
| Result< void > eve::procgen::road::detail::validateFacilityPrefab | ( | const RoadFacilityPrefab & | prefab | ) |
Validate finite source mesh topology and bounded source ranges.
在文件 RoadFacilityPrefab.cpp 第 42 行定义.
引用了 a, eve::procgen::road::RoadFacilityPrefab::assetId, b, c, cross(), dot(), length, normal, p, source, eve::Result< T >::success(), t, eve::procgen::road::TunnelPortalAsphalt, v, valid, validateFacilityPrefab() , 以及 eve::procgen::road::detail::V3::x.
被这些函数引用 bakeFacilityPrefab(), validateFacilityPrefab() , 以及 validateRoadAuthoring().
◆ validateFacilityRoutes()
| Result< void > eve::procgen::road::detail::validateFacilityRoutes | ( | const RoadNetwork & | network, |
| const RoadNode & | node | ||
| ) |
Validate explicit one-to-one routes, compatible sections and live incident endpoint ownership.
在文件 RoadBakeFacilityLinks.cpp 第 107 行定义.
引用了 a, b, edge, eve::procgen::road::RoadNetwork::edges(), f, eve::InvalidArgument, node, eve::PreconditionViolation , 以及 eve::Result< T >::success().
◆ validateJunctionGeometry()
| Result< void > eve::procgen::road::detail::validateJunctionGeometry | ( | const RoadNetwork & | network, |
| const RoadNode & | node | ||
| ) |
Module-private road bake implementation helper.
在文件 RoadBake.cpp 第 237 行定义.
引用了 a, asphaltHalfWidth(), authoredOutwardDirection(), b, directions, distance, dot(), edge, eve::procgen::road::RoadNetwork::edges(), edgeToSpline(), eve::Result< T >::failure(), first, fitJunctionPlane(), frame, junctionSocketDistance(), eve::procgen::road::makeRoadProfile(), node, p, planeHeight(), point, eve::PreconditionViolation, second, spline, eve::Result< T >::success() , 以及 validateConnectionSeams().
◆ validateRoadAuthoring()
Validate structural intervals and continuous-facility authoring.
在文件 RoadAuthoring.cpp 第 109 行定义.
引用了 eve::Authored, eve::procgen::road::Average, eve::procgen::road::CatmullRom, eve::procgen::road::RoadStyle::crossSection, eve::procgen::road::RoadStyle::crossSectionClosed, eve::procgen::road::RoadStyle::crossSectionSubdivisions, eve::procgen::road::RoadStyle::curbHeight, eve::procgen::road::RoadStyle::facilities, eve::procgen::road::RoadStyle::frameOrientation, ids, eve::procgen::raster_detail::invalid(), eve::procgen::road::ParametricDistanceTurn, eve::procgen::road::PathNormal, point, prefab, previous, eve::ReplaceTranslationRotation, eve::procgen::road::RoadStyle::rollInterpolation, eve::procgen::road::RoadStyle::samplingAngleDegrees, eve::procgen::road::RoadStyle::samplingPolicy, eve::procgen::road::RoadStyle::samplingSpacingMeters, eve::procgen::road::RoadStyle::sideTerrain, eve::procgen::road::RoadStyle::sidewalkHeight, eve::procgen::road::SmoothStep, eve::procgen::road::RoadStyle::structures, eve::Result< T >::success(), terrain, eve::procgen::road::RoadStyle::terrainPolicy, eve::procgen::road::Tunnel, valid, validateFacilityPrefab(), validateSection(), eve::procgen::road::RoadStyle::widthInterpolation , 以及 eve::procgen::road::WorldUp.
◆ validateSection()
| Result< void > eve::procgen::road::detail::validateSection | ( | const std::vector< RoadProfilePoint > & | points, |
| bool | closed | ||
| ) |
Validate bounded simple section geometry and semantic material tags.
在文件 RoadAuthoring.cpp 第 78 行定义.
引用了 a, area, b, c, count, eve::procgen::raster_detail::invalid(), p, points, eve::Result< T >::success(), eve::procgen::road::TunnelPortalAsphalt , 以及 u.
被这些函数引用 validateConnectionAsset() , 以及 validateRoadAuthoring().
◆ validateTerrainTiles()
| Result< void > eve::procgen::road::detail::validateTerrainTiles | ( | const std::vector< RoadTerrainTile > & | tiles | ) |
Validate bounded independent channel topologies, normalization and stable resource identities.
在文件 RoadTerrainWorkspace.cpp 第 116 行定义.
引用了 d, layer, resources, eve::Result< T >::success(), tiles , 以及 v.
被这些函数引用 eve::procgen::road::RoadTerrainWorkspace::initialize().
变量说明
◆ algorithmRevision
|
inlineconstexpr |
在文件 RoadAlgorithmRevision.h 第 7 行定义.
被这些函数引用 eve::procgen::BuildKey::forRecipe() , 以及 eve::procgen::generateRoadNetworkArtifact().