libigl v2.5.0
Loading...
Searching...
No Matches
variable_radius_offset.h File Reference
#include "igl_inline.h"
#include <Eigen/Core>
#include <vector>
#include <functional>
#include "variable_radius_offset.cpp"

Go to the source code of this file.

Namespaces

namespace  igl

Functions

template<typename DerivedV, typename DerivedF, typename DerivedR, typename Derivedorigin, typename DerivedmV, typename DerivedmF>
void igl::variable_radius_offset (const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedR > &R, const Eigen::MatrixBase< Derivedorigin > &origin, const typename Derivedorigin::Scalar h0, const int max_depth, Eigen::PlainObjectBase< DerivedmV > &mV, Eigen::PlainObjectBase< DerivedmF > &mF)
 Compute the variable radius offset (see, e.g., "Variable-Radius Offset Curves and Surfaces" [Lin & Rokne 1997]) of a triangle mesh with a pieceiwse linear radius function.
template<typename DerivedV, typename DerivedF, typename DerivedR, typename DerivedPB1, typename DerivedPB2, typename Scalar>
void igl::variable_radius_offset (const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedR > &R, Eigen::PlainObjectBase< DerivedPB1 > &PB1, Eigen::PlainObjectBase< DerivedPB2 > &PB2, std::vector< igl::SphereMeshWedge< Scalar > > &data, std::function< Scalar(const Eigen::Matrix< Scalar, 1, 3 > &, const int i)> &primitive)
 Overload which prepares data for a eytzinger_aabb_sdf callable sdf function.
template<typename DerivedPB1, typename DerivedPB2, typename Scalar, typename Derivedorigin, typename DerivedmV, typename DerivedmF>
void igl::variable_radius_offset (const Eigen::MatrixBase< DerivedPB1 > &PB1, const Eigen::MatrixBase< DerivedPB2 > &PB2, const std::vector< igl::SphereMeshWedge< Scalar > > &data, const std::function< Scalar(const Eigen::Matrix< Scalar, 1, 3 > &, const int i)> &primitive, const Eigen::MatrixBase< Derivedorigin > &origin, const Scalar h0, const int max_depth, Eigen::PlainObjectBase< DerivedmV > &mV, Eigen::PlainObjectBase< DerivedmF > &mF)