Introduction
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:
The source code of TwoDimensional is available on GitHub.
Exported Types
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
Table of contents
- Installation
- Affine Coordinate Transforms
- Points
- Bounding-Boxes
- Aliases
- Construction
- Fields
- Conversion
- Union and Intersection of Bounding-Boxes
- Interior, Exterior, Nearest, etc.
- Arithmetic and Basic Methods
- Reference
Index
TwoDimensional.AbstractPoint
TwoDimensional.AbstractPoint2D
TwoDimensional.AffineTransform2D
TwoDimensional.AffineTransforms.AffineTransform
TwoDimensional.BoundingBox
TwoDimensional.BoundingBox2D
TwoDimensional.Point
TwoDimensional.Point2D
TwoDimensional.WeightedPoint
TwoDimensional.WeightedPoint2D
TwoDimensional.AffineTransforms.compose
TwoDimensional.AffineTransforms.intercept
TwoDimensional.AffineTransforms.jacobian
TwoDimensional.AffineTransforms.rotate
TwoDimensional.AffineTransforms.scale
TwoDimensional.AffineTransforms.translate
TwoDimensional.area
TwoDimensional.center
TwoDimensional.distance
TwoDimensional.exterior
TwoDimensional.interior