public class PnConjugate
extends java.lang.Object
Constructor and Description |
---|
PnConjugate() |
Modifier and Type | Method and Description |
---|---|
static PgElementSet |
conjugate(PgElementSet conj,
PgElementSet surf,
PgElementSet domain)
Compute the conjugate surface of 'surf' and store it in 'conj'
This conjugation algorithm rotates every element by 90 degrees
todo: and needs no domain metric.
|
static PgElementSet |
conjugateToFull(PgElementSet conj,
PgElementSet surf,
PgElementSet domain)
Compute the conjugate surface of 'surf' and store it in 'conj'
This conjugation algorithm rotates every element by 90 degrees
todo: and needs no domain metric.
|
static boolean |
makeConforming(PgElementSet geom)
Replace the edge based representation of an elementSet by restoring the
vertex based representation whose elements were saved in PgElementSet.
|
static boolean |
makeConformingToFull(PgElementSet surf)
Generate a triangle mesh where each triangles has its own set of vertices,
and where the triangles are numbered in the same way as if the surface was
constructed by conjugation.
|
static boolean |
makeNonConforming(PgElementSet geom)
Replace the vertex based representation of an element set by a
representation which is based on edge midpoints.
|
public static PgElementSet conjugate(PgElementSet conj, PgElementSet surf, PgElementSet domain)
The resulting conjugate surface uses the midtriangles only. Two adjacent midtriangles use the same midpoint on the common edge.
conj
- conjugate minimal surface of surfsurf
- discrete minimal surfacedomain
- domain, if conjugation is applied to a mappublic static PgElementSet conjugateToFull(PgElementSet conj, PgElementSet surf, PgElementSet domain)
The resulting conjugate surface uses full triangles. Two adjacent are continuous at the midpoint of the common edge but do not have a vertex there.
conj
- conjugate minimal surface of surfsurf
- discrete minimal surfacedomain
- domain, if conjugation is applied to a mappublic static boolean makeNonConforming(PgElementSet geom)
public static boolean makeConforming(PgElementSet geom)
Note, this method may only be applied to a non-conforming mesh to undo
makeNonConforming(PgElementSet)
.
public static boolean makeConformingToFull(PgElementSet surf)
This method prepares a original surface to allow interpolation with its full conjugate surface.
Method applies both to conforming and non-conforming meshes.
"