Class Ellipsoid
java.lang.Object
org.episteme.core.mathematics.geometry.surfaces.Ellipsoid
- 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 an ellipsoidal surface.
An ellipsoid is a quadric surface with three semi-axes. Parametric form: S(θ, Æ) = (a·sin(θ)·cos(Æ), b·sin(θ)·sin(Æ), c·cos(θ)) where θ ∈ [0, À] (polar angle), Æ∈ [0, 2À] (azimuthal angle) a, b, c are the semi-axes
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEvaluates the surface at parameters (u, v).booleanChecks if a point is inside the ellipsoid.Returns the center point.Returns the semi-axis along x.Returns the semi-axis along y.Returns the semi-axis along z.Returns the partial derivative ∂S/∂u.Returns the partial derivative ∂S/∂v.volume()Returns the approximate volume using the formula V = (4/3)Àabc.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, gaussianCurvature, getOutputDimension, normal, surfaceArea, surfaceElementMethods inherited from interface Relation
getCodomain, getDomain
-
Constructor Details
-
Ellipsoid
-
Ellipsoid
-
-
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
-
getSemiAxisA
-
getSemiAxisB
-
getSemiAxisC
-
getCenter
-
volume
Returns the approximate volume using the formula V = (4/3)Àabc.- Returns:
- the volume
-
contains
-