circlePattern.variational
Class SphericalFunctional

java.lang.Object
  extended bycirclePattern.variational.SphericalFunctional

public class SphericalFunctional
extends java.lang.Object

Provides static methods which evaluate the spherical circle pattern functional and its gradient. Created: Sat Jun 8 15:57:42 CEST 2002


Method Summary
static double evaluate(CellularSurface surface, double[] theta, double[] capitalPhi, double[] rho, double[] gradient)
          Evaluates the spherical circle pattern functional and its gradient.
static double evaluate(CellularSurface surface, double[] theta, double[] capitalPhi, double[] rho, double logScale, double[] gradient)
          Evaluates the spherical circle pattern functional and its gradient; the parameters rho are shifted by an additive constant logScale.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

evaluate

public static final double evaluate(CellularSurface surface,
                                    double[] theta,
                                    double[] capitalPhi,
                                    double[] rho,
                                    double logScale,
                                    double[] gradient)
Evaluates the spherical circle pattern functional and its gradient; the parameters rho are shifted by an additive constant logScale.

Parameters:
surface - the cellular surface
theta - the intersection angles
capitalPhi - the nominal angle sum
rho - log tan (radius/2)
logScale - a constant added to all rho
gradient - double[] into which the gradient is written

evaluate

public static final double evaluate(CellularSurface surface,
                                    double[] theta,
                                    double[] capitalPhi,
                                    double[] rho,
                                    double[] gradient)
Evaluates the spherical circle pattern functional and its gradient.

Parameters:
surface - the cellular surface
theta - the intersection angles
capitalPhi - the nominal angle sum
rho - log tan (radius/2)
gradient - double[] into which the gradient is written