:orphan:
# DMPlexTransformGetTargetPoint
Get the number of a point in the transformed mesh based on information from the original mesh. 
## Synopsis
```
#include "petscdmplextransform.h" 
PetscErrorCode DMPlexTransformGetTargetPoint(DMPlexTransform tr, DMPolytopeType ct, DMPolytopeType ctNew, PetscInt p, PetscInt r, PetscInt *pNew)
```
Not Collective


## Input Parameters

- ***tr    -*** The `DMPlexTransform`
- ***ct    -*** The type of the original point which produces the new point
- ***ctNew -*** The type of the new point
- ***p     -*** The original point which produces the new point
- ***r     -*** The replica number of the new point, meaning it is the rth point of type `ctNew` produced from `p`



## Output Parameter

- ***pNew  -*** The new point number





## See Also
 [](ch_unstructured), `DM`, `DMPLEX`, `DMPlexTransform`, `DMPolytopeType`, `DMPlexTransformGetSourcePoint()`, `DMPlexTransformCellTransform()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/transform/interface/plextransform.c.html#DMPlexTransformGetTargetPoint">src/dm/impls/plex/transform/interface/plextransform.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/tutorials/ex11.c.html">src/dm/impls/plex/tutorials/ex11.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/transform/interface/plextransform.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)  
