public static final class DeformedSurface.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<DeformedSurface>
DeformedSurface.| Modifier and Type | Method and Description |
|---|---|
DeformedSurface |
build() |
DeformedSurface.Builder |
deformationFunction(Function<DoublesPair,ValueDerivatives> deformationFunction)
Sets the deformation function.
|
Object |
get(String propertyName) |
DeformedSurface.Builder |
metadata(SurfaceMetadata metadata)
Sets the surface metadata.
|
DeformedSurface.Builder |
originalSurface(Surface originalSurface)
Sets the original surface.
|
DeformedSurface.Builder |
set(org.joda.beans.MetaProperty<?> property,
Object value) |
DeformedSurface.Builder |
set(String propertyName,
Object newValue) |
String |
toString() |
public Object get(String propertyName)
get in interface org.joda.beans.BeanBuilder<DeformedSurface>get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<DeformedSurface>public DeformedSurface.Builder set(String propertyName, Object newValue)
public DeformedSurface.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
set in interface org.joda.beans.BeanBuilder<DeformedSurface>set in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<DeformedSurface>public DeformedSurface build()
public DeformedSurface.Builder metadata(SurfaceMetadata metadata)
The metadata includes an optional list of parameter metadata.
metadata - the new value, not nullpublic DeformedSurface.Builder originalSurface(Surface originalSurface)
The underlying surface which receives the deformation defined by deformationFunction.
originalSurface - the new value, not nullpublic DeformedSurface.Builder deformationFunction(Function<DoublesPair,ValueDerivatives> deformationFunction)
The deformation to the original surface is define by this function.
The function takes DoublesPair of x-value and y-value, then returns ValueDerivatives
which contains z-value for the specified x,y values, and node sensitivities to the original surface.
deformationFunction - the new value, not nullpublic String toString()
toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<DeformedSurface>Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.