载入中...
搜索中...
未找到
UrbanCrossField.cpp 文件参考
#include "procgen/urban/UrbanCrossField.h"
#include "procgen/urban/UrbanGeometry.h"
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <numeric>
#include <utility>
#include <vector>

浏览源代码.

命名空间

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

函数

std::vector< SplitCandidate > eve::procgen::urban::generateSplitCandidates (const Polygon &poly, int maxCandidates, double minHalfArea)
 Generate candidate streamlines for binary partitioning of poly.
 

变量说明

◆ inside

◆ nx

int nx = 0

在文件 UrbanCrossField.cpp 第 19 行定义.

◆ ny

int ny = 0

在文件 UrbanCrossField.cpp 第 20 行定义.

◆ ox

double ox = 0.0

在文件 UrbanCrossField.cpp 第 21 行定义.

被这些函数引用 eve::procgen::applyTerrainObjectsMultiTile(), eve::procgen::applyTerrainTreesMultiTile(), eve::avatar::AvatarInstance::attachToBone(), eve::editor::GizmoManager::beginDrag(), eve::editor::TransformGizmo::beginDrag(), eve::map::Fov::Impl::buildOpaqueRects(), eve::map::Fov::Impl::castLight(), eve::map::Fov::Impl::castRayLine(), eve::procgen::CloudShadow::cloudOffset(), eve::map::Fov::Impl::computeRectangle(), eve::procgen::CloudShadow::coverageAt(), eve::building_editing::BuildingPlacementTarget::curveLogicalPointFromWorld(), eve::avatar::AvatarInstance::defineEquipmentVisual3D(), eve::animation::AnimLattice::deformPositions(), eve::graphics::RenderSystem::drawItems(), eve::map::Map::dualGridOffsetX(), eve::map::Map::dualGridOffsetY(), eve::building_editing::BuildingPlacementTarget::edgeCubicBezierGizmo(), eve::procgen::TerrainPipeline::erodeFluvialDetailed(), eve::procgen::evolveSurface(), eve::voxel_editor::exposeVoxelCatalogEditorScriptBindings(), eve::procgen::NoiseField::fbmPerlin(), eve::physics::GeometryCollectionInstanceSnapshot::fromValue(), eve::procgen::urban::generateUrbanGrid(), eve::animation::AnimLattice::getPointOffsetX(), eve::map::Fov::Impl::hexCellAngle(), eve::map::Fov::Impl::inRadius2(), eve::map::Fov::Impl::inRadius3(), eve::card::CardPlaneMapper::mapRay(), eve::animation::multiplyQuat(), eve::image::ImageData::paintCircleUv(), eve::map::Fov::Impl::passesHeightToTarget(), eve::editor::GizmoManager::pick(), eve::editor::TransformGizmo::pick(), eve::scene::Scene::pickRayAt(), eve::voxel_editing::pickVoxelModel(), eve::voxel_editor::VoxelCatalogEditor::pointerDown(), eve::voxel_editor::VoxelCatalogEditor::pointerWorldRay(), eve::procgen::poissonDiskPoints(), eve::level_editing::Brush::previewAt(), eve::physics::PhysicsArtifactProvider::rayCast(), eve::voxel::VoxelWorld::raycast(), eve::math::Math::raycastBox(), eve::math::Math::raycastCircle2(), eve::math::Math::raycastPlane(), eve::math::Math::raycastRect2(), eve::voxel::VoxelWorld::raycastScript(), eve::math::Math::raycastSphere(), eve::procgen::GtsTerrainLodRuntime::replace(), eve::procgen_physics::GtsTerrainColliderRuntime::replace(), eve::procgen::GtsTerrainLodRuntime::replaceAndHideSource(), eve::decision::DecisionContext::restoreJson(), eve::procgen::NoiseField::ridgedPerlin(), eve::animation::AnimTrail::sampleBoneOffset(), eve::building::PlacementSystem::sampleEdgeCurveSurface(), eve::procgen::gridgraph::select(), eve::animation::AnimTrail::setDrawOffset(), eve::avatar::AvatarInstance::setLayerOffset(), eve::animation::AnimLattice::setOrigin(), eve::card::CardPlaneMapper::setPlane(), eve::animation::AnimSkin::skinPositions(), eve::animation::slerpQuat(), eve::card::Hand::slotTransform(), eve::particles::spawnParticleAt(), eve::graphics::texBombHash22(), eve::graphics::texCellBombSampleUV(), eve::animation::Mat4::transformPoint(), eve::map::Fov::Impl::tryMark2(), eve::editor::GizmoManager::updateDrag(), eve::editor::TransformGizmo::updateDrag(), eve::graphics::Volumetric::uploadFroxel() , 以及 eve::pixelworld::PixelWorld::Impl::wakeAround().

◆ oy

double oy = 0.0

在文件 UrbanCrossField.cpp 第 22 行定义.

被这些函数引用 eve::procgen::applyTerrainTreesMultiTile(), eve::avatar::AvatarInstance::attachToBone(), eve::editor::GizmoManager::beginDrag(), eve::editor::TransformGizmo::beginDrag(), eve::map::Fov::Impl::buildOpaqueRects(), eve::map::Fov::Impl::castLight(), eve::map::Fov::Impl::castRayLine(), eve::map::Fov::Impl::computeRectangle(), eve::building_editing::BuildingPlacementTarget::curveLogicalPointFromWorld(), eve::avatar::AvatarInstance::defineEquipmentVisual3D(), eve::animation::AnimLattice::deformPositions(), eve::graphics::RenderSystem::drawItems(), eve::map::Map::dualGridOffsetX(), eve::map::Map::dualGridOffsetY(), eve::building_editing::BuildingPlacementTarget::edgeCubicBezierGizmo(), eve::procgen::TerrainPipeline::erodeFluvialDetailed(), eve::procgen::evolveSurface(), eve::voxel_editor::exposeVoxelCatalogEditorScriptBindings(), eve::procgen::NoiseField::fbmPerlin(), eve::physics::GeometryCollectionInstanceSnapshot::fromValue(), eve::procgen::urban::generateUrbanGrid(), eve::animation::AnimLattice::getPointOffsetY(), eve::map::Fov::Impl::hexCellAngle(), eve::map::Fov::Impl::inRadius2(), eve::map::Fov::Impl::inRadius3(), eve::card::CardPlaneMapper::mapRay(), eve::animation::multiplyQuat(), eve::image::ImageData::paintCircleUv(), eve::map::Fov::Impl::passesHeightToTarget(), eve::editor::GizmoManager::pick(), eve::editor::TransformGizmo::pick(), eve::scene::Scene::pickRayAt(), eve::voxel_editing::pickVoxelModel(), eve::voxel_editor::VoxelCatalogEditor::pointerDown(), eve::voxel_editor::VoxelCatalogEditor::pointerWorldRay(), eve::procgen::poissonDiskPoints(), eve::level_editing::Brush::previewAt(), eve::physics::PhysicsArtifactProvider::rayCast(), eve::voxel::VoxelWorld::raycast(), eve::math::Math::raycastBox(), eve::math::Math::raycastCircle2(), eve::math::Math::raycastPlane(), eve::math::Math::raycastRect2(), eve::voxel::VoxelWorld::raycastScript(), eve::math::Math::raycastSphere(), eve::procgen::GtsTerrainLodRuntime::replace(), eve::procgen_physics::GtsTerrainColliderRuntime::replace(), eve::procgen::GtsTerrainLodRuntime::replaceAndHideSource(), eve::decision::DecisionContext::restoreJson(), eve::procgen::NoiseField::ridgedPerlin(), eve::animation::AnimTrail::sampleBoneOffset(), eve::building::PlacementSystem::sampleEdgeCurveSurface(), eve::procgen::gridgraph::select(), eve::animation::AnimTrail::setDrawOffset(), eve::avatar::AvatarInstance::setLayerOffset(), eve::animation::AnimLattice::setOrigin(), eve::card::CardPlaneMapper::setPlane(), eve::animation::AnimSkin::skinPositions(), eve::animation::slerpQuat(), eve::card::Hand::slotTransform(), eve::particles::spawnParticleAt(), eve::graphics::texBombHash22(), eve::graphics::texCellBombSampleUV(), eve::animation::Mat4::transformPoint(), eve::map::Fov::Impl::tryMark2(), eve::editor::GizmoManager::updateDrag(), eve::editor::TransformGizmo::updateDrag(), eve::graphics::Volumetric::uploadFroxel() , 以及 eve::pixelworld::PixelWorld::Impl::wakeAround().

◆ phi

◆ spacing

double spacing = 1.0

在文件 UrbanCrossField.cpp 第 23 行定义.