A Small 3D Geometry Library

https://img.shields.io/badge/Github-acme-0072BD.svg https://img.shields.io/badge/Version-4.0.0-0072BD.svg https://img.shields.io/badge/Release-4.0.0-0072BD.svg https://img.shields.io/badge/License-BSD2-0072BD.svg

The ACME library is a small 3D geometry library written in C++11. It is designed to be a simple and easy to use library for 3D computational geometry. The main goal of the library is to provide a minimal and robust to use interface for geometry computations.

Installation

C++

Download the library using git:

git clone git@github.com:StoccoDavide/acme.git

To compile the library you can use cmake:

mkdir build
cd build
cmake ..
make

or rake:

rake build_submodules
rake build # or simply 'rake'

The compiled library and headers are stores as follows:

`-- lib
    |-- include
    |   |-- acme.hh
    |   `-- acme
    |       |-- aabb.hxx
    |       |-- AABBtree.hxx
    |       |-- ball.hxx
    |       |-- collection.hxx
    |       |-- collinear.hxx
    |       |-- coplanar.hxx
    |       |-- disk.hxx
    |       |-- entity.hxx
    |       |-- intersection.hxx
    |       |-- line.hxx
    |       |-- math.hxx
    |       |-- none.hxx
    |       |-- orthogonal.hxx
    |       |-- parallel.hxx
    |       |-- plane.hxx
    |       |-- point.hxx
    |       |-- ray.hxx
    |       |-- segment.hxx
    |       |-- triangle.hxx
    |       `-- utilities.hxx
    |-- lib
    |   `-- libacme_OSTYPE_static.a
    `-- dll
        `-- libacme_OSTYPE.dylib

where OSTYPE can be linux, osx, mingw_x64, win_x64 depending on your OS.

Authors

Davide Stocco
Department of Industrial Engineering
University of Trento
Enrico Bertolazzi
Department of Industrial Engineering
University of Trento

License

BSD 2-Clause License

Copyright (c) 2020, Davide Stocco <davide.stocco@unitn.it> and
Enrico Bertolazzi <enrico.bertolazzi@unitn.it>.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.