> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ansys::dpf::ElementCursor Class Reference

`#include <dpf_api.h>`

## Public Member Functions

| Type | Name |
| - | - |
| | **ElementCursor** ([ElementCursor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1ElementCursor.md) const &)=delete |
| | **ElementCursor** ([ElementCursor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/classansys_1_1dpf_1_1ElementCursor.md) &&)=delete |
| [ElementDescriptor](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/structansys_1_1dpf_1_1ElementDescriptor.md) const & | [descriptor](#af3c4e595a62ac09aca9de7fc2322bb62) () const |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | **numberOfNodes** () const @ return Number of nodes in element. |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | [numberOfCornerNodes](#a5e7ffc770ff20b75c5353f34aae6c687) () const |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | [numberOfMidNodes](#a1710596a51fd20b7cc2e087cd78790a9) () const |
| [dp\_int](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/namespaceansys_1_1dpf#a60d181a1f9d29cc7cc38b25dac4401f0) | [effectiveSize](#a2c9af98ac05f0b60cdac5f3baeece638) () const |
| bool | [defined](#a4daaa4aa35e0c6a769d80b5fa0523b4d) () const |
| [dp\_id](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/namespaceansys_1_1dpf#ab4574c9af3f2bb8011da7d1f4c8da20e) | [id](#a3f73e05a946c60b4901cb32027d84765) () const |
| [dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) | [operator\[\]](#ade825f7c6dc2123cb6c7e9c03c2750fe) ([dp\_index](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/namespaceansys_1_1dpf#a417548d1b705a9ba54ba9429afe68920) i) const |

## Detailed Description

Point on a local element data within a mesh.

**Examples**

[DataApis.cpp](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r1/DataApis_8cpp-example.md).

## Member Function Documentation

### defined()

```cpp theme={null}
bool ansys::dpf::ElementCursor::defined() const
```

`inline`

**Returns**

Indication that cursor is defined.

### descriptor()

```cpp theme={null}
ElementDescriptor const & ansys::dpf::ElementCursor::descriptor() const
```

`inline`

**Returns**

Element descriptor for cursor.

### effectiveSize()

```cpp theme={null}
dp_int ansys::dpf::ElementCursor::effectiveSize() const
```

`inline`

**Returns**

Number of nodes in cursor.

### id()

```cpp theme={null}
dp_id ansys::dpf::ElementCursor::id() const
```

`inline`

**Returns**

Element cursor id.

### numberOfCornerNodes()

```cpp theme={null}
dp_int ansys::dpf::ElementCursor::numberOfCornerNodes() const
```

`inline`

**Returns**

Number of corner nodes in element.

### numberOfMidNodes()

```cpp theme={null}
dp_int ansys::dpf::ElementCursor::numberOfMidNodes() const
```

`inline`

**Returns**

Number of mid-side nodes in element.

### operator\[]\()

```cpp theme={null}
dp_index ansys::dpf::ElementCursor::operator[](dp_index i) const
```

`inline`

**Returns**

Connectivity node id given by index.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | i | Index into connectivity list. |
