#include "petscdmplex.h" #include "petscfe.h" PetscErrorCode DMPlexComputeProjection3Dto2D(PetscInt coordSize, PetscScalar coords[], PetscReal R[])Not collective
coordSize | - Length of coordinate array (3x number of points); must be at least 9 (3 points) | |
coords | - The interlaced coordinates of each coplanar 3D point |
coords | - The first 2*coordSize/3 entries contain interlaced 2D points, with the rest undefined | |
R | - 3x3 row-major rotation matrix whose columns are the tangent basis [t1, t2, n]. Multiplying by R^T transforms from original frame to tangent frame. |