dust3d/third_party/libigl/include/igl/WindingNumberMethod.h

24 lines
829 B
C
Raw Normal View History

// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2015 Alec Jacobson <alecjacobson@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at http://mozilla.org/MPL/2.0/.
#ifndef IGL_WINDINGNUMBERMETHOD_H
#define IGL_WINDINGNUMBERMETHOD_H
namespace igl
{
// EXACT_WINDING_NUMBER_METHOD exact hierarchical evaluation
// APPROX_SIMPLE_WINDING_NUMBER_METHOD poor approximation
// APPROX_CACHE_WINDING_NUMBER_METHOD another poor approximation
enum WindingNumberMethod
{
EXACT_WINDING_NUMBER_METHOD = 0,
APPROX_SIMPLE_WINDING_NUMBER_METHOD = 1,
APPROX_CACHE_WINDING_NUMBER_METHOD = 2,
NUM_WINDING_NUMBER_METHODS = 3
};
}
#endif