mapbox-wagyu/0.5.0

A general library for geometry operations of union, intersections, difference, and xor
Recipe info
LicenseRef-mapbox-wagyu
2024-02-07

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
mapbox-wagyu/0.5.0

Using mapbox-wagyu

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
mapbox-wagyu/0.5.0
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("mapbox-wagyu/0.5.0")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): mapbox-wagyu
  • CMake target name(s): mapbox-wagyu::mapbox-wagyu
  • pkg-config file name(s): mapbox-wagyu.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(mapbox-wagyu REQUIRED)
# ...
target_link_libraries(YOUR_TARGET mapbox-wagyu::mapbox-wagyu)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the mapbox-wagyu homepage listed above:

#include "mapbox/geometry/wagyu/active_bound_list.hpp"
#include "mapbox/geometry/wagyu/almost_equal.hpp"
#include "mapbox/geometry/wagyu/bound.hpp"
#include "mapbox/geometry/wagyu/bubble_sort.hpp"
#include "mapbox/geometry/wagyu/build_edges.hpp"
#include "mapbox/geometry/wagyu/build_local_minima_list.hpp"
#include "mapbox/geometry/wagyu/build_result.hpp"
#include "mapbox/geometry/wagyu/config.hpp"
#include "mapbox/geometry/wagyu/edge.hpp"
#include "mapbox/geometry/wagyu/interrupt.hpp"
#include "mapbox/geometry/wagyu/intersect.hpp"
#include "mapbox/geometry/wagyu/intersect_util.hpp"
#include "mapbox/geometry/wagyu/local_minimum.hpp"
#include "mapbox/geometry/wagyu/local_minimum_util.hpp"
#include "mapbox/geometry/wagyu/point.hpp"
#include "mapbox/geometry/wagyu/process_horizontal.hpp"
#include "mapbox/geometry/wagyu/process_maxima.hpp"
#include "mapbox/geometry/wagyu/quick_clip.hpp"
#include "mapbox/geometry/wagyu/ring.hpp"
#include "mapbox/geometry/wagyu/ring_util.hpp"
#include "mapbox/geometry/wagyu/scanbeam.hpp"
#include "mapbox/geometry/wagyu/snap_rounding.hpp"
#include "mapbox/geometry/wagyu/topology_correction.hpp"
#include "mapbox/geometry/wagyu/util.hpp"
#include "mapbox/geometry/wagyu/vatti.hpp"
#include "mapbox/geometry/wagyu/wagyu.hpp"