ArcGIS Procedural Runtime  3.2.10650
MeshUtils.h
1 /*
2  COPYRIGHT (c) 2012-2024 Esri R&D Center Zurich
3  TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
4  Unpublished material - all rights reserved under the
5  Copyright Laws of the United States and applicable international
6  laws, treaties, and conventions.
7 
8  For additional information, contact:
9  Environmental Systems Research Institute, Inc.
10  Attn: Contracts and Legal Services Department
11  380 New York Street
12  Redlands, California, 92373
13  USA
14 
15  email: contracts@esri.com
16 */
17 
18 #ifndef PRTX_MESHUTILS_H_
19 #define PRTX_MESHUTILS_H_
20 
21 #include "prtx/Mesh.h"
22 
23 
24 namespace prtx {
25 
26 
30 namespace MeshUtils {
31 
32 
38 PRTX_EXPORTS_API void transformCoords(DoubleVector& coords, const DoubleVector& matrix);
39 
45 PRTX_EXPORTS_API MeshPtr createTriangulatedMesh(const MeshPtr& mesh, IndexVector* triangle2FaceMap = 0);
46 
47 
48 } // namespace MeshUtils
49 
50 
51 } // namespace prtx
52 
53 
54 #endif /* PRTX_MESHUTILS_H_ */
std::vector< uint32_t > IndexVector
vector of indices
Definition: Mesh.h:38
std::vector< double > DoubleVector
vector of double
Definition: Types.h:32
MeshPtr createTriangulatedMesh(const MeshPtr &mesh, IndexVector *triangle2FaceMap=0)
The Procedural Runtime eXtension namespace. The prtx namespace contains the tools to extend the Proce...
Definition: AnnotationBuilder.h:35
std::shared_ptr< Mesh > MeshPtr
shared Mesh pointer
Definition: DataBackend.h:41
void transformCoords(DoubleVector &coords, const DoubleVector &matrix)