ArcGIS Pro 2.6 API Reference Guide
AddCoordinate3D Method
Example 

ArcGIS.Core.Geometry Namespace > Coordinate3D Structure : AddCoordinate3D Method
The Coordinate3D to add to this Coordinate3D.
Constructs a new Coordinate3D by adding another Coordinate3D to this Coordinate3D. Vector addition is used.
Syntax
public Coordinate3D AddCoordinate3D( 
   Coordinate3D other
)
Public Function AddCoordinate3D( _
   ByVal other As Coordinate3D _
) As Coordinate3D

Parameters

other
The Coordinate3D to add to this Coordinate3D.

Return Value

A newly constructed Coordinate3D by adding the components of this Coordinate3D to the corresponding components of the input Coordinate3D.
Remarks

AddCoordinate3D

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, Windows 7

See Also

Reference

Coordinate3D Structure
Coordinate3D Members