API Reference > imodeljs-common > Geometry > XyzRotation XyzRotation Class Hold 3 components data of a Positional Vector rotation definition in arc seconds Implements XyzRotationProps Methods Name Description constructor(data?: XyzRotationProps): XyzRotation equals(other: XyzRotation): boolean Compares two geodetic rotations. toJSON(): XyzRotationProps Creates a JSON from the Rotations definition fromJSON(data: XyzRotationProps): XyzRotation Static Creates a Rotations object from JSON representation. Properties Name Type Description x Readonly number X rotation component in arc second y Readonly number Y rotation component in arc second z Readonly number Z rotation component in arc second Defined in core/common/src/geometry/GeodeticDatum.ts Line 28 Last Updated: 11 June, 2024