Skip to content

Commit 1b51e43

Browse files
authored
Merge pull request #9 from FugroRoames/affine_transforms
Affine transforms
2 parents 8b87af8 + d270099 commit 1b51e43

File tree

5 files changed

+284
-47
lines changed

5 files changed

+284
-47
lines changed

src/CoordinateTransformations.jl

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ using Rotations
2626
export RotMatrix, Quaternion, SpQuat, AngleAxis, EulerAngles, ProperEulerAngles
2727

2828
# Core methods
29-
export transform, compose, , transform_deriv, transform_deriv_params
29+
export compose, , transform_deriv, transform_deriv_params
3030
export Transformation, IdentityTransformation
3131

3232
# 2D coordinate systems and their transformations
@@ -40,15 +40,20 @@ export SphericalFromCartesian, CartesianFromSpherical,
4040
CylindricalFromSpherical, SphericalFromCylindrical
4141

4242
# Common transformations
43-
export Translation
43+
export AbstractAffineTransformation, AbstractLinearTransformation, AbstractTranslation
44+
export AffineTransformation, LinearTransformation, Translation, transformation_matrix, translation_vector, translation_vector_reverse
4445
export RotationPolar, Rotation2D
4546
export Rotation, RotationXY, RotationYZ, RotationZX
4647
export RotationYX, RotationZY, RotationXZ, euler_rotation
4748

48-
#export RigidBodyTransformation, AffineTransformation
4949

5050
include("core.jl")
5151
include("coordinatesystems.jl")
5252
include("commontransformations.jl")
5353

54+
# Deprecations
55+
export transform
56+
Base.@deprecate_binding AbstractTransformation Transformation
57+
Base.@deprecate transform(transformation::Transformation, x) transformation(x)
58+
5459
end # module

0 commit comments

Comments
 (0)