Skip to content

Commit

Permalink
Merge pull request #56 from nden/rotations
Browse files Browse the repository at this point in the history
Add schema for 3D rotations.
  • Loading branch information
mdboom committed Feb 26, 2015
2 parents 85bdcbb + f39a4c2 commit 5ad9193
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions schemas/stsci.edu/asdf/0.1.0/transform/rotate3d.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/0.1.0/transform/rotate3d"
tag: "tag:stsci.edu:asdf/0.1.0/transform/rotate3d"
title: >
Rotation in 3D space.
description: |
Rotation by 3 Euler angles.
Invertability: All ASDF tools are required to be able to compute the
analytic inverse of this transform.
examples:
-
- The three Euler angles are 12.3, 34 and -1.2 in degrees.
- |
!transform/rotate3d
phi: 12.3
theta: 34
psi: -1.2
allOf:
- $ref: transform
- type: object
properties:
phi:
type: number
description: Angle, in degrees.
theta:
type: number
description: Angle, in degrees.
psi:
type: number
description: Angle, in degrees.
required: [phi, theta, psi]

0 comments on commit 5ad9193

Please sign in to comment.