jvx.geom
Class PnConjugate
java.lang.Object
|
+--jvx.geom.PnConjugate
- public class PnConjugate
- extends java.lang.Object
Utility class for computing the conjugate of a discrete harmonic map,
and conversion between conforming and non-conforming triangulations.
- Version:
- 16.07.99, 2.00 revised (kp) Non-conforming methods moved from PgElementSet.
00.00.99, 1.00 created (kp)
- Author:
- Konrad Polthier
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PnConjugate
public PnConjugate()
conjugate
public 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. The new triangulation 'conj' is
continuous at edge midpoints iff 'surf' is a discrete minimal surface.
- Parameters:
PgElementSet - conj conjugate minimal surface of surfPgElementSet - surf discrete minimal surfacePgElementSet - domain domain, if conjugation is applied to a map- Returns:
- PgElementSet new conjugate surface if conj==null, else conj
conjugateToFull
public 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. The new triangulation 'conj' is
continuous at edge midpoints iff 'surf' is a discrete minimal surface.
- Parameters:
PgElementSet - conj conjugate minimal surface of surfPgElementSet - surf discrete minimal surfacePgElementSet - domain domain, if conjugation is applied to a map- Returns:
- PgElementSet new conjugate surface if conj==null, else conj
makeNonConforming
public static boolean makeNonConforming(PgElementSet geom)
- Replace the vertex based representation of an elementSet by a
representation which is based on edge midpoints. The original vertex based elements
are saved in geometry such that they can be reconstructed in makeConforming().
The current elementSet is modified in place.
- Returns:
- true on success
makeConforming
public 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.
The current elementSet is modified in place.
- Returns:
- true on success
makeConformingToFull
public static boolean makeConformingToFull(PgElementSet surf)
The software JavaView® is copyright protected. All Rights Reserved.