ArcGIS Pro 2.7 API Reference Guide
Rotate Method (Coordinate3D)
Example 

ArcGIS.Core.Geometry Namespace > Coordinate3D Structure : Rotate Method
The angle defining the rotation.
The axis around which the Coordinate3D is rotated.
Rotates the Coordinate3D around an axis defined by another Coordinate3D. The angle is in radians.
Syntax
public void Rotate( 
   double angle,
   Coordinate3D axis
)
Public Sub Rotate( _
   ByVal angle As Double, _
   ByVal axis As Coordinate3D _
) 

Parameters

angle
The angle defining the rotation.
axis
The axis around which the Coordinate3D is rotated.
Remarks
The Coordinate3D is rotated a given input angle measured in radians around the specified axis defined by the input Coordinate3D. To rotate a Coordinate3D in a given plane defined by two Coordinate3D, use the CrossProduct of those coordinates as the axis of rotation.
Example
// Easy 3D vectors
Coordinate3D v = new Coordinate3D(0, 1, 0);
// v.Magnitude = 1

Coordinate3D other = new Coordinate3D(-1, 0, 0);
// other.Magnitude = -1

double dotProduct = v.DotProduct(other);      // dotProduct = 0

Coordinate3D crossProduct = v.CrossProduct(other);
// crossProduct.X = 0
// crossProduct.Y = 0
// crossProduct.Z = 1

Coordinate3D addVector = v.AddCoordinate3D(other);
// addVector.X = -1
// addVector.Y = 1
// addVector.Z = 0

// Rotate around x-axis
Coordinate3D w = v;
w.Rotate(Math.PI, other);
// w.X = 0
// w.Y = -1
// w.Z = 0

w.Scale(0.5);
// w.X = 0
// w.Y = -0.5
// w.Z = 0

w.Scale(-4);
// w.X = 0
// ww.Y = 2
// w.Z = 0
// w.Magnitude = 2

w.Move(3, 2, 0);
// w.X = 3
// w.Y = 4
// w.Z = 0
// w.Magnitude = 5
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Coordinate3D Structure
Coordinate3D Members