Skip to content
pigay edited this page Nov 30, 2011 · 1 revision

Introduction

LibVsg is a 2D/3D software library with a focus on basic geometric manipulations. It's released under the GNU LGPL. Written for C, it provides support for single and double precision arithmetics.

Provided features include several data types and the corresponding API:

  • 2D/3D points/vectors.

  • Quaternions (3D rotations presented in a 4D unit vector).

  • 2D/3D affine transforms (3x3 and 4x4 matrices, respectively).

  • Geometric containers, such as spatial filters: currently only Point/Region binary trees (both 2D and 3D).

Although the main API is a C interface, a Python wrapper comes with the library source distribution. Software prerequisites

Vsg depends on the following software:

  • glib-2.0.

  • pkg-config.

  • Python for source generation.

Optional software may also be needed:

  • gtk-doc for reference documentation.

  • pygtk for building Python wrapper.

Clone this wiki locally