# DMPlexGetConeRecursiveVertices
Expand each given point into its cone points and do that recursively until we end up just with vertices. 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexGetConeRecursiveVertices(DM dm, IS points, IS *expandedPoints)
```
Not Collective


## Input Parameters

- ***dm -*** The `DMPLEX`
- ***points -*** The `IS` of points, which must lie in the chart set with `DMPlexSetChart()`



## Output Parameter

- ***expandedPoints -*** An array of vertices recursively expanded from input points





## Notes
Like `DMPlexGetConeRecursive()` but returns only the 0-depth IS (i.e. vertices only) and no sections.

There is no corresponding Restore function, just call `ISDestroy()` on the returned `IS` to deallocate.


## See Also
 [](chapter_unstructured), `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexGetCone()`, `DMPlexGetConeTuple()`, `DMPlexGetConeRecursive()`, `DMPlexRestoreConeRecursive()`,
`DMPlexGetDepth()`, `IS`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plex.c.html#DMPlexGetConeRecursiveVertices">src/dm/impls/plex/plex.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plex.c)


[Index of all DMPlex routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
