WorldForge::wfmath's primary focus is geometric objects
WorldForge::wfmath's primary focus is geometric objects. Thus, it includes several shapes (boxes, balls, lines), in addition to the basic math objects that are used to build these shapes (points, vectors, matricies).
Most of the library classes can be divided into two sorts. The first kind are basic mathematical objects, whose members are all fundamental types. The second kind are shapes, which implement the shape class interface described in doc/shape.h. There are four classes of the first kind:
A basic mathematical vector
An orthogonal matrix of determinant 1, useful for describing rotations.
A point in space. This basic class also implements the shape interface in doc/shape.h.
The shape classes are:
A box oriented parallel to the coordinate axes
Ball< 2 > is a circle, Ball< 3 > is a sphere, etc.
A line segment, defined by its endpoints
Like AxisBox< >, but it can be rotated to arbitrary angles
A 2 dimensional polygon contained in a (possibly) larger dimensional space
The library also contains some probability-related functions, as well as wrappers for system time and random number functions.
What's New in This Release:
tags the shape doc shape basic mathematical kind are the first first kind the library
Download WorldForge::wfmath 0.3.5
Other software in this category
- Desktop Environment
- Science and Engineering
- Text Editing&Processing