载入中...
搜索中...
未找到
eve::procgen::urban::UrbanLayout结构体 参考

Structured urban layout produced by the hierarchical co-generation (paper Section 4) plus the geometric optimization (paper Section 5). 更多...

#include <UrbanTypes.h>

Public 成员函数

void clear ()
 Clears .
 

Public 属性

std::vector< Vec2 > corners
 
std::vector< Parcel > parcels
 
std::vector< GraphEdge > edges
 
std::vector< Street > streets
 
std::vector< std::pair< int, int > > streetSegments
 
int streetJunctions = 0
 
int streetEnds = 0
 
double totalStreetLength = 0.0
 
double avgIrregularity = 0.0
 
double minIrregularity = 0.0
 
double maxIrregularity = 0.0
 
int levelsUsed = 0
 

详细描述

Structured urban layout produced by the hierarchical co-generation (paper Section 4) plus the geometric optimization (paper Section 5).

在文件 UrbanTypes.h 第 84 行定义.

成员函数说明

◆ clear()

void eve::procgen::urban::UrbanLayout::clear ( )
inline

类成员变量说明

◆ avgIrregularity

double eve::procgen::urban::UrbanLayout::avgIrregularity = 0.0

在文件 UrbanTypes.h 第 94 行定义.

被这些函数引用 clear().

◆ corners

std::vector<Vec2> eve::procgen::urban::UrbanLayout::corners

在文件 UrbanTypes.h 第 85 行定义.

被这些函数引用 clear().

◆ edges

std::vector<GraphEdge> eve::procgen::urban::UrbanLayout::edges

在文件 UrbanTypes.h 第 87 行定义.

被这些函数引用 clear().

◆ levelsUsed

int eve::procgen::urban::UrbanLayout::levelsUsed = 0

在文件 UrbanTypes.h 第 97 行定义.

被这些函数引用 clear() , 以及 eve::procgen::urban::UrbanGenerator::generate().

◆ maxIrregularity

double eve::procgen::urban::UrbanLayout::maxIrregularity = 0.0

在文件 UrbanTypes.h 第 96 行定义.

被这些函数引用 clear().

◆ minIrregularity

double eve::procgen::urban::UrbanLayout::minIrregularity = 0.0

在文件 UrbanTypes.h 第 95 行定义.

被这些函数引用 clear().

◆ parcels

std::vector<Parcel> eve::procgen::urban::UrbanLayout::parcels

在文件 UrbanTypes.h 第 86 行定义.

被这些函数引用 clear().

◆ streetEnds

int eve::procgen::urban::UrbanLayout::streetEnds = 0

在文件 UrbanTypes.h 第 92 行定义.

被这些函数引用 clear().

◆ streetJunctions

int eve::procgen::urban::UrbanLayout::streetJunctions = 0

在文件 UrbanTypes.h 第 91 行定义.

被这些函数引用 clear().

◆ streets

std::vector<Street> eve::procgen::urban::UrbanLayout::streets

在文件 UrbanTypes.h 第 88 行定义.

被这些函数引用 clear().

◆ streetSegments

std::vector<std::pair<int, int> > eve::procgen::urban::UrbanLayout::streetSegments

在文件 UrbanTypes.h 第 89 行定义.

被这些函数引用 clear().

◆ totalStreetLength

double eve::procgen::urban::UrbanLayout::totalStreetLength = 0.0

在文件 UrbanTypes.h 第 93 行定义.

被这些函数引用 clear().


该结构体的文档由以下文件生成: