:orphan: # DMGetFirstLabeledPoint Find first labeled `point` in `odm` such that the corresponding point in `dm` has the specified `height`. Return `point` and the corresponding `ds`. ## Synopsis ``` #include "petscdmplex.h" PetscErrorCode DMGetFirstLabeledPoint(DM dm, DM odm, DMLabel label, PetscInt numIds, const PetscInt ids[], PetscInt height, PetscInt *point, PetscDS *ds) ``` ## Input Parameters - ***dm -*** the `DM` - ***odm -*** the enclosing `DM` - ***label -*** label for `DM` domain, or `NULL` for whole domain - ***numIds -*** the number of `ids` - ***ids -*** An array of the label ids in sequence for the domain - ***height -*** Height of target cells in `DMPLEX` topology ## Output Parameters - ***point -*** the first labeled point - ***ds -*** the ds corresponding to the first labeled point ## See Also [](ch_unstructured), `DM`, `DMPLEX`, `DMPlexSetActivePoint()`, `DMLabel`, `PetscDS` ## Level developer ## Location src/dm/impls/plex/plexproject.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexproject.c) [Index of all DMPlex routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)