CARLA
载入中...
搜索中...
未找到
LibCarla
source
carla
geom
Simplification.h
浏览该文件的文档.
1
// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
2
// de Barcelona (UAB).
3
//
4
// This work is licensed under the terms of the MIT license.
5
// For a copy, see <https://opensource.org/licenses/MIT>.
6
7
#pragma once
8
9
#include "
carla/geom/Mesh.h
"
10
11
namespace
carla
{
12
namespace
geom {
13
14
class
Simplification
{
15
public
:
16
17
Simplification
() =
default
;
18
19
Simplification
(
float
simplificationrate)
20
:
simplification_percentage
(simplificationrate)
21
{}
22
23
float
simplification_percentage
;
24
25
void
Simplificate
(
const
std::unique_ptr<geom::Mesh>& pmesh);
26
};
27
28
}
// namespace geom
29
}
// namespace carla
Mesh.h
carla::geom::Simplification
Definition
Simplification.h:14
carla::geom::Simplification::simplification_percentage
float simplification_percentage
Definition
Simplification.h:23
carla::geom::Simplification::Simplification
Simplification(float simplificationrate)
Definition
Simplification.h:19
carla::geom::Simplification::Simplificate
void Simplificate(const std::unique_ptr< geom::Mesh > &pmesh)
Definition
Simplification.cpp:13
carla::geom::Simplification::Simplification
Simplification()=default
carla
This file contains definitions of common data structures used in traffic manager.
Definition
Carla.cpp:133
制作者
1.10.0