:orphan:
# PetscFEGeomGetCellPoint
Get the cell geometry for face f at point p as a `PetscFEGeom` 
## Synopsis
```
#include "petscfe.h" 
PetscErrorCode PetscFEGeomGetCellPoint(PetscFEGeom *geom, PetscInt c, PetscInt p, PetscFEGeom *pgeom)
```

## Input Parameters

- ***geom    -*** `PetscFEGeom` object
- ***f       -*** The face
- ***p       -*** The point



## Output Parameter

- ***pgeom -*** The cell geometry of face f at point p





## Note
For affine geometries, this only copies to pgeom at point 0. Since we copy pointers into pgeom,
nothing needs to be done with it afterwards.


## See Also
 `PetscFEGeom()`, `PetscFEGeomRestoreChunk()`, `PetscFEGeomCreate()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/fe/interface/fegeom.c.html#PetscFEGeomGetCellPoint">src/dm/dt/fe/interface/fegeom.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/fe/interface/fegeom.c)


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