    

 ## On this page

  

 

 # ansys::dpf::ElementCursor Class Reference

 Last update: 16.07.2025 

`#include <dpf_api.h>`

## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

<a id="ab3b7e0f631546b360d00d30f57475d29" name="ab3b7e0f631546b360d00d30f57475d29"></a> **ElementCursor** ([ElementCursor](classansys_1_1dpf_1_1ElementCursor.xhtml) const &amp;)=delete <a id="a42a87b28ff9b8cd52894405beb4f8aa0" name="a42a87b28ff9b8cd52894405beb4f8aa0"></a> **ElementCursor** ([ElementCursor](classansys_1_1dpf_1_1ElementCursor.xhtml) &amp;&amp;)=delete [ElementDescriptor](structansys_1_1dpf_1_1ElementDescriptor.xhtml) const &amp; [descriptor](classansys_1_1dpf_1_1ElementCursor.xhtml#af3c4e595a62ac09aca9de7fc2322bb62) () const <a id="a54ae9b25c375c752682a7dff04603348" name="a54ae9b25c375c752682a7dff04603348"></a>[dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) **numberOfNodes** () const @ return Number of nodes in element.   
 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [numberOfCornerNodes](classansys_1_1dpf_1_1ElementCursor.xhtml#a5e7ffc770ff20b75c5353f34aae6c687) () const [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [numberOfMidNodes](classansys_1_1dpf_1_1ElementCursor.xhtml#a1710596a51fd20b7cc2e087cd78790a9) () const [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [effectiveSize](classansys_1_1dpf_1_1ElementCursor.xhtml#a2c9af98ac05f0b60cdac5f3baeece638) () const bool [defined](classansys_1_1dpf_1_1ElementCursor.xhtml#a4daaa4aa35e0c6a769d80b5fa0523b4d) () const [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) [id](classansys_1_1dpf_1_1ElementCursor.xhtml#a3f73e05a946c60b4901cb32027d84765) () const [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) [operator\[\]](classansys_1_1dpf_1_1ElementCursor.xhtml#ade825f7c6dc2123cb6c7e9c03c2750fe) ([dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) i) const <a id="details" name="details"></a>## Detailed Description

Point on a local element data within a mesh.

Examples[DataApis.cpp](DataApis_8cpp-example.xhtml#_a57).

## Member Function Documentation

<a id="a4daaa4aa35e0c6a769d80b5fa0523b4d" name="a4daaa4aa35e0c6a769d80b5fa0523b4d"></a>## [◆ ](#a4daaa4aa35e0c6a769d80b5fa0523b4d)defined()

 bool ansys::dpf::ElementCursor::defined  ( )  const  inline 

ReturnsIndication that cursor is defined. 



<a id="af3c4e595a62ac09aca9de7fc2322bb62" name="af3c4e595a62ac09aca9de7fc2322bb62"></a>## [◆ ](#af3c4e595a62ac09aca9de7fc2322bb62)descriptor()

 [ElementDescriptor](structansys_1_1dpf_1_1ElementDescriptor.xhtml) const &amp; ansys::dpf::ElementCursor::descriptor  ( )  const  inline 

ReturnsElement descriptor for cursor. 



<a id="a2c9af98ac05f0b60cdac5f3baeece638" name="a2c9af98ac05f0b60cdac5f3baeece638"></a>## [◆ ](#a2c9af98ac05f0b60cdac5f3baeece638)effectiveSize()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::ElementCursor::effectiveSize  ( )  const  inline 

ReturnsNumber of nodes in cursor. 



<a id="a3f73e05a946c60b4901cb32027d84765" name="a3f73e05a946c60b4901cb32027d84765"></a>## [◆ ](#a3f73e05a946c60b4901cb32027d84765)id()

 [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) ansys::dpf::ElementCursor::id  ( )  const  inline 

ReturnsElement cursor id. 



<a id="a5e7ffc770ff20b75c5353f34aae6c687" name="a5e7ffc770ff20b75c5353f34aae6c687"></a>## [◆ ](#a5e7ffc770ff20b75c5353f34aae6c687)numberOfCornerNodes()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::ElementCursor::numberOfCornerNodes  ( )  const  inline 

ReturnsNumber of corner nodes in element. 



<a id="a1710596a51fd20b7cc2e087cd78790a9" name="a1710596a51fd20b7cc2e087cd78790a9"></a>## [◆ ](#a1710596a51fd20b7cc2e087cd78790a9)numberOfMidNodes()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::ElementCursor::numberOfMidNodes  ( )  const  inline 

ReturnsNumber of mid-side nodes in element. 



<a id="ade825f7c6dc2123cb6c7e9c03c2750fe" name="ade825f7c6dc2123cb6c7e9c03c2750fe"></a>## [◆ ](#ade825f7c6dc2123cb6c7e9c03c2750fe)operator\[\]()

 [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920) ansys::dpf::ElementCursor::operator\[\]  ( [dp\_index](namespaceansys_1_1dpf.xhtml#a417548d1b705a9ba54ba9429afe68920)  *i*)  const  inline 

ReturnsConnectivity node id given by index. Parameters \[in\]iIndex into connectivity list.