Core 1.0
Public Member Functions | List of all members
Phasor Class Reference

Phasor noise. More...

#include <phasornoise.h>

Inheritance diagram for Phasor:
AnalyticScalarField2

Public Member Functions

 ~Phasor ()
 Empty.
 
double Value (const Vector2 &v) const
 Compute the value of the field. More...
 
- Public Member Functions inherited from AnalyticScalarField2
 AnalyticScalarField2 ()
 Create an analytic scalar field defined over the entire plane.
 
virtual Vector2 Gradient (const Vector2 &) const
 Compute the gradient of the field. More...
 
virtual Matrix2 Hessian (const Vector2 &) const
 Compute the hessian at a given point. More...
 
virtual ScalarField2 Sample (const Array2 &) const
 Create a discrete scalar field by sampling a given domain. More...
 
void Curvature (const Vector2 &, double &, double &) const
 Compute the gaussian and mean curvatures. More...
 
virtual Box2 GetBox () const
 Return the bounding box.
 

Additional Inherited Members

- Protected Member Functions inherited from AnalyticScalarField2
Matrix Local (const Vector2 &) const
 Compute the local neighborhood in the one-ring aroung a point. More...
 
- Protected Attributes inherited from AnalyticScalarField2
Box2 box = Box2::Infinity
 Domain, set as infinite for base class.
 
- Static Protected Attributes inherited from AnalyticScalarField2
static const double epsilon = 1e-6
 \epsilon; value for partial derivatives
 

Detailed Description

Phasor noise.

See also
Noise

Member Function Documentation

◆ Value()

double Phasor::Value ( const Vector2 p) const
inlinevirtual

Compute the value of the field.

Parameters
pPoint.

Reimplemented from AnalyticScalarField2.