-
Notifications
You must be signed in to change notification settings - Fork 183
Expand file tree
/
Copy pathsurface_centers.h
More file actions
27 lines (22 loc) · 1.37 KB
/
surface_centers.h
File metadata and controls
27 lines (22 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once
#include "geometrycentral/surface/intrinsic_geometry_interface.h"
#include "geometrycentral/surface/manifold_surface_mesh.h"
#include "geometrycentral/surface/vector_heat_method.h"
namespace geometrycentral {
namespace surface {
// Find a center of a collection of points at vertices
SurfacePoint findCenter(ManifoldSurfaceMesh& mesh, IntrinsicGeometryInterface& geom,
const std::vector<Vertex>& vertexPts, int p = 2,
LogMapStrategy strategy = LogMapStrategy::VectorHeat);
SurfacePoint findCenter(ManifoldSurfaceMesh& mesh, IntrinsicGeometryInterface& geom, VectorHeatMethodSolver& solver,
const std::vector<Vertex>& vertexPts, int p = 2,
LogMapStrategy strategy = LogMapStrategy::VectorHeat);
// Find a center of distribution
SurfacePoint findCenter(ManifoldSurfaceMesh& mesh, IntrinsicGeometryInterface& geom,
const VertexData<double>& distribution, int p = 2,
LogMapStrategy strategy = LogMapStrategy::VectorHeat);
SurfacePoint findCenter(ManifoldSurfaceMesh& mesh, IntrinsicGeometryInterface& geom, VectorHeatMethodSolver& solver,
const VertexData<double>& distribution, int p = 2,
LogMapStrategy strategy = LogMapStrategy::VectorHeat);
} // namespace surface
} // namespace geometrycentral