载入中...
搜索中...
未找到
#include <cmath>#include <cstddef>#include <cstdint>#include <string>#include <utility>#include <vector>类 | |
| struct | eve::procgen::urban::Vec2 |
| Minimal 2D vector used by the urban layout algorithms (paper coordinates). 更多... | |
| struct | eve::procgen::urban::Street |
| A street decomposed from the street network graph: consecutive street edges whose included angle is larger than 135° belong to the same street. 更多... | |
| struct | eve::procgen::urban::Parcel |
| One parcel: a CCW ring of indices into UrbanLayout::corners. 更多... | |
| struct | eve::procgen::urban::GraphEdge |
| Undirected edge of the parcel corner graph. 更多... | |
| struct | eve::procgen::urban::UrbanLayout |
| Structured urban layout produced by the hierarchical co-generation (paper Section 4) plus the geometric optimization (paper Section 5). 更多... | |
| struct | eve::procgen::urban::UrbanOptions |
| All user-facing controls for the urban generator. Defaults follow the paper (λ=0.3/0.5/0.2, γ=0.75/0.25, τ=0.5, I/L-shaped access, cul-de-sac avoidance on). 更多... | |
| struct | eve::procgen::urban::BoundaryPosition |
Where a point sits on the polygon boundary: edge edgeIndex at parameter t in [0,1]. 更多... | |
| struct | eve::procgen::urban::BoundarySample |
| A boundary sample used for field constraints / candidate seeds. 更多... | |
命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::procgen |
| namespace | eve::procgen::urban |
类型定义 | |
| using | eve::procgen::urban::Polygon = std::vector< Vec2 > |
| Closed polygon ring, stored CCW, without repeating the first point. | |
| using | eve::procgen::urban::Polyline = std::vector< Vec2 > |
| Open polyline (e.g. a streamline candidate or a street centerline). | |
函数 | |
| double | eve::procgen::urban::cross (const Vec2 &a, const Vec2 &b) |
| Cross. | |
| double | eve::procgen::urban::dot (const Vec2 &a, const Vec2 &b) |
| Dot. | |
| double | eve::procgen::urban::length (const Vec2 &a) |
| Length. | |
| double | eve::procgen::urban::lengthSq (const Vec2 &a) |
| Length sq. | |
| Vec2 | eve::procgen::urban::normalize (const Vec2 &a) |
| Normalize. | |
| Vec2 | eve::procgen::urban::perpendicular (const Vec2 &a) |
| Perpendicular. | |
| double | eve::procgen::urban::distance (const Vec2 &a, const Vec2 &b) |
| Distance. | |