Introduction

TwoDimensional is a [Julia][julia-url] package which provides useful types and methods to define and manipulate 2-dimensional objects (points, rectangles, circles, polygons, and bounding-boxes) and affine coordinate transforms. This package also offers methods to build masks from the composition of elementary shapes.

Other related packages:

The source code of TwoDimensional is available on GitHub.

Exported Types

using TwoDimensional

gives you types AffineTransform, Point, Rectangle, Circle, Polygon, and BoundingBox.

To avoid conflicts with other packages, you may specifically use/import aliases to these types with suffixes 2D like AffineTransform2D, Point2D, BoundingBox2D, etc. For example:

using TwoDimensional: AffineTransform2D, Point2D, Polygon2D, BoundingBox2D

Table of contents

Index