Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 

Concave Generalized Bézier Patch

This is a minimal library for evaluating CGB patches.

Installation

The program was tested under Linux and Windows.

You will need the following libraries:

Building under Linux

Download and compile the dependencies. Put eigen under the dependencies folder. Note that you have to build Triangle as a library with the -fpic flag.

> cd concave-gb
> mkdir build
> cd build
> cmake -D LIBGEOM_ROOT=/your/path/to/transfinite \
        -D LIBMEC_ROOT=/your/path/to/libmec \
		-D LIBTRIANGLE_ROOT=/your/path/to/triangle \
		-D CMAKE_BUILD_TYPE=Debug # or Release \
		../src
> make

Building under Windows

Download the dependencies into dependencies/{transfinite,libmec,triangle,eigen}. (Note that you will need GSL for compiling libmec.) A Visual Studio 2015 solution file is supplied for compilation.

Usage

The library is documented in the header file cgb.h.

There is also a stand-alone program in the example directory that can be used from the command line to generate meshes from .cgb files. Note that a high-density resolution also needs a higher level of detail for the parameterization.

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published