blRectangle — A simple Rectangle class in c++ with useful functions

Introduction This is part of my on going effort to publish all the mathematical tools that I have developed and used over the years. In this article, I present a simple rectangle class, which is very useful when dealing with images or graphics in general. As with the rest of…

Continue reading

blQuaternion — A simple quaternion in c++

Introduction This is part of my on going effort to publish all the mathematical tools that I have developed and used over the years.  In this article, I present a simple quaternion class, which I use in many applications, from machine vision to physics simulation, to 3d graphics. As with the…

Continue reading

blPoint2d — A simple 2d point structure in c++

Introduction When developing physics, engineering or any other type of technical applications, there are basic mathematical tools that I have found myself using time over time. In this article, I design and build a simple two-dimensional point/vector structure with some basic functionality, keeping in mind code readability. Here’s a snippet of…

Continue reading