载入中...
搜索中...
未找到
eve::building::placement_detail 命名空间参考

类

struct  FreeFootprint
 

枚举

enum class  SurfaceFrameStatus { Normalized , Invalid }
 

函数

bool hasFreeEdgeOverlap (const PlacementWorld &world, const BuildingDefinition &freeDefinition, const FreeFootprint &footprint, const BuildingDefinition &edgeDefinition, EdgeAddress edge)
 
float wrapDeg (float deg)
 
int cardinalQuarter (float rotationDeg)
 
float length3 (float x, float y, float z)
 
FreeFootprint definitionFreeFootprint (const BuildingDefinition &definition, const PlacementWorld &world, float x, float y, float rotationDeg)
 
void applyDefinitionFreeFootprint (PlacedBuilding &placed, const BuildingDefinition &definition, const PlacementWorld &world)
 
FreeFootprint placedFreeFootprint (const PlacedBuilding &placed)
 
std::vector< FreeFootprint::Point > worldVertices (const FreeFootprint &footprint)
 Transform footprint vertices. @cost Copies vertex count per overlap query.
 
bool isPointInPolygon (const FreeFootprint &polygon, float x, float y)
 
bool hasFreeFootprintOverlap (const FreeFootprint &a, const FreeFootprint &b)
 
bool containsFreeFootprintPoint (const FreeFootprint &footprint, float x, float y)
 
void cross3 (float ax, float ay, float az, float bx, float by, float bz, float &x, float &y, float &z)
 
SurfaceFrameStatus normalizeSurfaceFrame (PlacementSystem::PlacementHit &hit)
 

枚举类型说明

◆ SurfaceFrameStatus

枚举值
Normalized 
Invalid 

在文件 PlacementInternal.h 第 39 行定义.

函数说明

◆ applyDefinitionFreeFootprint()

◆ cardinalQuarter()

int eve::building::placement_detail::cardinalQuarter ( float  rotationDeg)

◆ containsFreeFootprintPoint()

◆ cross3()

void eve::building::placement_detail::cross3 ( float  ax,
float  ay,
float  az,
float  bx,
float  by,
float  bz,
float &  x,
float &  y,
float &  z 
)

在文件 PlacementGeometry.cpp 第 210 行定义.

引用了 x, y , 以及 z.

被这些函数引用 normalizeSurfaceFrame().

◆ definitionFreeFootprint()

FreeFootprint eve::building::placement_detail::definitionFreeFootprint ( const BuildingDefinition &  definition,
const PlacementWorld &  world,
float  x,
float  y,
float  rotationDeg 
)

◆ hasFreeEdgeOverlap()

◆ hasFreeFootprintOverlap()

◆ isPointInPolygon()

bool eve::building::placement_detail::isPointInPolygon ( const FreeFootprint &  polygon,
float  x,
float  y 
)

在文件 PlacementGeometry.cpp 第 129 行定义.

引用了 a, b, vertices, worldVertices(), x , 以及 y.

被这些函数引用 containsFreeFootprintPoint() , 以及 hasFreeFootprintOverlap().

◆ length3()

float eve::building::placement_detail::length3 ( float  x,
float  y,
float  z 
)

在文件 PlacementGeometry.cpp 第 57 行定义.

引用了 x, y , 以及 z.

被这些函数引用 normalizeSurfaceFrame().

◆ normalizeSurfaceFrame()

SurfaceFrameStatus eve::building::placement_detail::normalizeSurfaceFrame ( PlacementSystem::PlacementHit &  hit)

在文件 PlacementGeometry.cpp 第 216 行定义.

引用了 cross3(), hit , 以及 length3().

被这些函数引用 eve::building::PlacementSystem::sampleSurface().

◆ placedFreeFootprint()

◆ worldVertices()

std::vector< FreeFootprint::Point > eve::building::placement_detail::worldVertices ( const FreeFootprint &  footprint)

◆ wrapDeg()