MeshDrawTriangle

This function draws a triangle, taking into account the periodicity of the mesh.

Synopsis

#include "mesh.h" 
int MeshDrawTriangle(Mesh mesh, PetscDraw draw, double xA, double yA, double xB, double yB, double xC, double yC, int colorA,
                     int colorB, int colorC)
Collective on Mesh

Input Parameters

Keywords

mesh, draw

See Also

MeshDrawLine()

Level:intermediate
Location:
src/mesh/interface/meshDraw.c
Index of all Mesh routines
Table of Contents for all manual pages
Index of all manual pages

mesh - The mesh
draw - The PetscDraw context
xA,yA - The coordinates of the first corner
xB,yB - The coordinates of the second corner
xC,yC - The coordinates of the third corner
colorA, colorB, colorC - The colors of the corners