TwoDimensional.jl

A Julia package for 2-dimensional geometry
Author emmt
Popularity
3 Stars
Updated Last
2 Years Ago
Started In
November 2019

TwoDimensional

Documentation License Build Status Code Coverage

TwoDimensional is a Julia package which provides useful types and methods to define and manipulate 2-dimensional points, bounding-boxes and affine coordinate transforms.

Other related packages:

Usage

using TwoDimensional

gives you types AffineTransform{T}, Point{T} and BoundingBox{T} parameterized by the type T of their components (T must be floating point for AffineTransform{T}).

To avoid conflicts with other packages, you may use/import TwoDimensional.Suffixed which gives you types AffineTransform2D{T}, Point2D{T} and BoundingBox2D{T} instead, that is with suffix 2D.

You can also fine tune what you want. For instance:

using TwoDimensional: AffineTransform, Point2D

Documentation

Latest documentation is here.

Installation

TwoDimensional is an official Julia package so you can install it from Julia's package manager. In an interactive Julia session, hit the ] key to switch to the package manager REPL (you should get a ... pkg> prompt) and type:

pkg> add TwoDimensional

You can also execute the following statements (in a Julia script or from Julia REPL):

using Pkg
Pkg.add("TwoDimensional")

If you prefer to install and use the master version:

pkg> add https://github.com/emmt/TwoDimensional.jl

if you use HTTPS, or:

pkg> add git@github.com:emmt/TwoDimensional.jl

if you use SSH.

Required Packages

No packages found.

Used By Packages