Class Cone
java.lang.Object
org.episteme.core.mathematics.geometry.surfaces.Cone
- 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 conical surface.
A cone is a surface formed by lines connecting a point (apex) to a circular base. Parametric form: S(θ, t) = (t·r·cos(θ), t·r·sin(θ), t·h) where θ ∈ [0, 2À], t ∈ [0, 1], r is base radius, h is height
- 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).gaussianCurvature(Real u, Real v, Real h) Returns the Gaussian curvature at (u, v).getApex()Returns the apex point.Returns the base radius.Returns the height.Returns the lateral surface area.Returns the partial derivative ∂S/∂u.Returns the partial derivative ∂S/∂v.Returns the slant height. l = √(r² + h²)Returns the total surface area (including base).volume()Returns the volume of the cone.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
-
Cone
-
Cone
-
-
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
-
getBaseRadius
-
getHeight
-
getApex
-
slantHeight
Returns the slant height. l = √(r² + h²)- Returns:
- the slant height
-
lateralSurfaceArea
Returns the lateral surface area. A = Àrl where l is slant height- Returns:
- the lateral surface area
-
totalSurfaceArea
Returns the total surface area (including base). A = Àr(r + l)- Returns:
- the total surface area
-
volume
-