Skip to content

File optimal_transform.h

File List > geometry > utils > optimal_transform.h

Go to the documentation of this file

#pragma once
#include "uipc/common/dllexport.h"
#include <uipc/geometry/simplicial_complex.h>

namespace uipc::geometry
{
UIPC_GEOMETRY_API Matrix4x4 optimal_transform(span<const Vector3> S, span<const Vector3> D);

UIPC_GEOMETRY_API Matrix4x4 optimal_transform(const SimplicialComplex& S, const SimplicialComplex& D);
}  // namespace uipc::geometry