RGPolygonGetVertices#
Gets the vertices that define the polygon region.
Synopsis#
#include "slepcrg.h"
PetscErrorCode RGPolygonGetVertices(RG rg,PetscInt *n,PetscScalar *vr[],PetscScalar *vi[]) PeNS
Not Collective
Input Parameter#
rg - the region context
Output Parameters#
n - number of vertices
vr - array of vertices
vi - array of vertices (imaginary part)
Notes#
The values passed by user with RGPolygonSetVertices() are returned (or null pointers otherwise). The returned arrays should be freed by the user when no longer needed.
See Also#
Level#
advanced
Location#
Implementations#
RGPolygonGetVertices_Polygon() in src/sys/classes/rg/impls/polygon/rgpolygon.c
Index of all RG routines Table of Contents for all manual pages Index of all manual pages