---
title: "Point3D"
url: "https://reference.aspose.com/cad/java/com.aspose.cad.fileformats.iges.commondefinitions/point3d/"
product: "Aspose.CAD for Java"
description: "Structure that defines a point in 3D space with X,Y and Z coordinates"
---


**Inheritance:** java.lang.Object, com.aspose.ms.lang.Struct

**All Implemented Interfaces:** Cloneable

Structure that defines a point in 3D space with X,Y and Z coordinates

## Constructors

| Constructor | Description |
| --- | --- |
| [Point3D()](#Point3D) |  |
| [Point3D(double x, double y, double z)](#Point3D-double-double-double) | Constructor for Point3D from separate X,Y,Z coordinates |

## Fields

| Field | Description |
| --- | --- |
| [X](#X) | X coordinate |
| [Y](#Y) | Y coordinate |
| [Z](#Z) | Z coordinate |

## Methods

| Method | Description |
| --- | --- |
| [CloneTo(Point3D that)](#CloneTo-com.aspose.cad.fileformats.iges.commondefinitions.Point3D) |  |
| [Clone()](#Clone) |  |
| [clone()](#clone) |  |
| [equals(Object obj)](#equals-java.lang.Object) |  |
| [hashCode()](#hashCode) |  |
| [isEquals(Point3D obj1, Point3D obj2)](#isEquals-com.aspose.cad.fileformats.iges.commondefinitions.Point3D-com.aspose.cad.fileformats.iges.commondefinitions.Point3D) |  |

### Point3D() {#Point3D}
```java
public Point3D()
```

### Point3D(double x, double y, double z) {#Point3D-double-double-double}
```java
public Point3D(double x, double y, double z)
```

Constructor for Point3D from separate X,Y,Z coordinates

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| x | double | X coordinate |
| y | double | Y coordinate |
| z | double | Z coordinate |

### X {#X}
```java
public double X
```

X coordinate

**Returns:** double

### Y {#Y}
```java
public double Y
```

Y coordinate

**Returns:** double

### Z {#Z}
```java
public double Z
```

Z coordinate

**Returns:** double

### CloneTo(Point3D that) {#CloneTo-com.aspose.cad.fileformats.iges.commondefinitions.Point3D}
```java
public void CloneTo(Point3D that)
```

### Clone() {#Clone}
```java
public Point3D Clone()
```

**Returns:** Point3D

### clone() {#clone}
```java
public Object clone()
```

**Returns:** Object

### equals(Object obj) {#equals-java.lang.Object}
```java
public boolean equals(Object obj)
```

**Returns:** boolean

### hashCode() {#hashCode}
```java
public int hashCode()
```

**Returns:** int

### isEquals(Point3D obj1, Point3D obj2) {#isEquals-com.aspose.cad.fileformats.iges.commondefinitions.Point3D-com.aspose.cad.fileformats.iges.commondefinitions.Point3D}
```java
public static boolean isEquals(Point3D obj1, Point3D obj2)
```

**Returns:** boolean

