Class Cylinder
java.lang.Object
org.episteme.core.mathematics.geometry.surfaces.Cylinder
- 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 cylindrical surface.
A cylinder is a surface of revolution with constant radius. Parametric form: S(θ, z) = (r·cos(θ), r·sin(θ), z) where θ ∈ [0, 2À] and z ∈ [z_min, z_max]
- 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).Returns the center point.Returns the height of the cylinder.Returns the radius of the cylinder.Returns the lateral surface area (excluding top and bottom).Returns the normal vector at (u, v).Returns the partial derivative ∂S/∂u.Returns the partial derivative ∂S/∂v.Returns the total surface area (including top and bottom).volume()Returns the volume of the cylinder.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, surfaceArea, surfaceElementMethods inherited from interface Relation
getCodomain, getDomain
-
Constructor Details
-
Cylinder
-
Cylinder
-
-
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
-
normal
Description copied from interface:ParametricSurfaceReturns the normal vector at (u, v).The normal is computed as: N = ∂S/∂u × ∂S/∂v
- Specified by:
normalin interfaceParametricSurface- Parameters:
u- the first parameterv- the second parameterh- the step size for numerical differentiation- Returns:
- the unit normal 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
-
getRadius
-
getHeight
-
getCenter
-
lateralSurfaceArea
Returns the lateral surface area (excluding top and bottom). A = 2Àrh- Returns:
- the lateral surface area
-
totalSurfaceArea
Returns the total surface area (including top and bottom). A = 2Àr(r + h)- Returns:
- the total surface area
-
volume
-