roslib
Version:
The standard ROS Javascript Library
27 lines (26 loc) • 699 B
TypeScript
import { default as Vector3, IVector3 } from './Vector3.ts';
import { default as Quaternion, IQuaternion } from './Quaternion.ts';
export interface ITransform {
/**
* The ROSLIB.Vector3 describing the translation.
*/
translation: IVector3;
/**
* The ROSLIB.Quaternion describing the rotation.
*/
rotation: IQuaternion;
}
/**
* A Transform in 3-space. Values are copied into this object.
*/
export default class Transform implements ITransform {
translation: Vector3;
rotation: Quaternion;
constructor(options: ITransform);
/**
* Clone a copy of this transform.
*
* @returns The cloned transform.
*/
clone(): Transform;
}