# TransformExtensionMethods class

Namespace: [Grasshopper2.Extensions](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.extensions.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public static class TransformExtensionMethods
```

## Methods

- [IsCorrect](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.transformextensionmethods/iscorrect.md): (static) Test whether this transform genuinely converts one point into another.
- [IsQuaternion](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.transformextensionmethods/isquaternion.md): (static) Test whether a specific transform is actually a quaternion in disguise.
- [IsRotation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.transformextensionmethods/isrotation.md): (static) Gets whether this transformation matrix represents a rotation about a custom axis.
- [IsTranslation](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.transformextensionmethods/istranslation.md): (static) Gets whether this transformation matrix represents only a translation.
- [ToQuaternion](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.transformextensionmethods/toquaternion.md): (static) Convert a [Transform](https://mcneel-apidocs-rhinocommon-7f6eb10c6967.herokuapp.com/api/rhinocommon/type/rhino.geometry.transform/) into a [Quaternion](https://mcneel-apidocs-rhinocommon-7f6eb10c6967.herokuapp.com/api/rhinocommon/type/rhino.geometry.quaternion/). This is only possible if the transform has been created by the [TransformExtensionMethods.ToTransform(Quaternion)](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.transformextensionmethods/totransform.md) method.
- [ToTransform](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.transformextensionmethods/totransform.md): (2 overloads, static) Convert a [Quaternion](https://mcneel-apidocs-rhinocommon-7f6eb10c6967.herokuapp.com/api/rhinocommon/type/rhino.geometry.quaternion/) into a [Transform](https://mcneel-apidocs-rhinocommon-7f6eb10c6967.herokuapp.com/api/rhinocommon/type/rhino.geometry.transform/) which contains the quaternion coefficients. Note that the resulting transform is not valid as such, it merely functions as a way to store quaternion data without the need of the quaternion type.
