CARLA
LibCarla
source
carla
geom
Simplification.h
Go to the documentation of this file.
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
carla
This file contains definitions of common data structures used in traffic manager. ...
Definition:
Carla.cpp:133
Mesh.h
carla::geom::Simplification::Simplification
Simplification(float simplificationrate)
Definition:
Simplification.h:19
carla::geom::Simplification::simplification_percentage
float simplification_percentage
Definition:
Simplification.h:23
carla::geom::Simplification::Simplificate
void Simplificate(const std::unique_ptr< geom::Mesh > &pmesh)
Definition:
Simplification.cpp:13
carla::geom::Simplification::Simplification
Simplification()=default
carla::geom::Simplification
Definition:
Simplification.h:14
Generated by
1.8.13