---
title: "CadSpatialIndex"
url: "https://reference.aspose.com/cad/java/com.aspose.cad.fileformats.cad.cadobjects/cadspatialindex/"
product: "Aspose.CAD for Java"
description: "Class describing SPATIAL_INDEX object."
---


**Inheritance:** java.lang.Object, CadBaseObject

Class describing SPATIAL_INDEX object.

## Constructors

| Constructor | Description |
| --- | --- |
| [CadSpatialIndex()](#CadSpatialIndex) | Initializes a new instance of the CadSpatialIndex class. |

## Methods

| Method | Description |
| --- | --- |
| [getTimestamp()](#getTimestamp) | Gets or sets the timestamp. |
| [setTimestamp(double value)](#setTimestamp-double) | Gets or sets the timestamp. |

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

Initializes a new instance of the CadSpatialIndex class.

### getTimestamp() {#getTimestamp}
```java
public final double getTimestamp()
```

Gets or sets the timestamp.

**Returns:** double - The timestamp.

### setTimestamp(double value) {#setTimestamp-double}
```java
public final void setTimestamp(double value)
```

Gets or sets the timestamp.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | double | The timestamp. |

