Class Paraboloid
java.lang.Object
org.episteme.core.mathematics.geometry.surfaces.Paraboloid
- All Implemented Interfaces:
Function<Vector<Real>, Vector<Real>>, ContinuousFunction<Vector<Real>, Vector<Real>>, DifferentiableFunction<Vector<Real>, Vector<Real>>, Function<Vector<Real>, Vector<Real>>, Relation<Vector<Real>, Vector<Real>>, ParametricSurface
Represents a paraboloidal surface.
A paraboloid is a quadric surface with equation z = (x²/a²) + (y²/b²). Parametric form: S(u, v) = (u, v, u²/a² + v²/b²)
Special cases: - a = b: Circular paraboloid (paraboloid of revolution) - a ≠b: Elliptic paraboloid
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
ConstructorsConstructorDescriptionParaboloid(PointND vertex, Real scaleA, Real scaleB) Creates a paraboloid with the given vertex and scale factors.Paraboloid(Real scaleA, Real scaleB) Creates a paraboloid with the given scale factors. -
Method Summary
Modifier and TypeMethodDescriptionEvaluates the surface at parameters (u, v).Returns the focal length for a circular paraboloid (a = b). f = a²/4gaussianCurvature(Real u, Real v, Real h) Returns the Gaussian curvature at (u, v).Returns the scale factor along x.Returns the scale factor along y.Returns the vertex point.Returns the partial derivative ∂S/∂u.Returns the partial derivative ∂S/∂v.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContinuousFunction
isContinuousMethods inherited from interface DifferentiableFunction
isDifferentiableMethods inherited from interface Function
andThen, apply, compose, contains, evaluate, getBackend, setBackendMethods inherited from interface ParametricSurface
differentiate, evaluate, firstFundamentalForm, getOutputDimension, normal, surfaceArea, surfaceElementMethods inherited from interface Relation
getCodomain, getDomain
-
Constructor Details
-
Paraboloid
-
Paraboloid
-
-
Method Details
-
at
Description copied from interface:ParametricSurfaceEvaluates the surface at parameters (u, v).- Specified by:
atin interfaceParametricSurface- Parameters:
u- the first parameterv- the second parameter- Returns:
- the point on the surface
-
partialU
Description copied from interface:ParametricSurfaceReturns the partial derivative ∂S/∂u.This is the tangent vector in the u-direction.
- Specified by:
partialUin interfaceParametricSurface- Parameters:
u- the first parameterv- the second parameterh- the step size for numerical differentiation- Returns:
- the partial derivative vector
-
partialV
Description copied from interface:ParametricSurfaceReturns the partial derivative ∂S/∂v.This is the tangent vector in the v-direction.
- Specified by:
partialVin interfaceParametricSurface- Parameters:
u- the first parameterv- the second parameterh- the step size for numerical differentiation- Returns:
- the partial derivative vector
-
gaussianCurvature
Description copied from interface:ParametricSurfaceReturns the Gaussian curvature at (u, v).K = (LN - M²) / (EG - F²) where L, M, N are second fundamental form coefficients and E, F, G are first fundamental form coefficients.
- Specified by:
gaussianCurvaturein interfaceParametricSurface- Parameters:
u- the first parameterv- the second parameterh- the step size- Returns:
- the Gaussian curvature
-
getScaleA
-
getScaleB
-
getVertex
-
focalLength
Returns the focal length for a circular paraboloid (a = b). f = a²/4- Returns:
- the focal length
- Throws:
IllegalStateException- if not a circular paraboloid
-