non-gon
    Preparing search index...

    Class HemiEllipsoid

    Represents a hemiellipsoid (half of an ellipsoid) geometry. A hemiellipsoid is the upper half of an ellipsoid (z >= 0).

    Hierarchy (View Summary)

    Index

    Constructors

    • Creates a new HemiEllipsoid instance.

      Parameters

      • xradius: number

        Semi-axis length along the x-axis

      • yradius: number

        Semi-axis length along the y-axis

      • zradius: number

        Semi-axis length along the z-axis

      • center: Vector3 = ...

        Center point of the hemiellipsoid

      • rotation: Vector3 = ...

        Rotation of the hemiellipsoid in degrees

      • segments: number = 32

        Number of segments for mesh generation

      Returns HemiEllipsoid

    Properties

    center: Vector3 = ...
    geometry: any = null
    rotation: Vector3 = ...
    segments: number = 100
    type: GeometryType3D = GeometryType3D.HemiEllipsoid
    xradius: number

    Semi-axis length along the x-axis

    yradius: number

    Semi-axis length along the y-axis

    zradius: number

    Semi-axis length along the z-axis

    Methods

    • Calculates a point on the hemiellipsoid surface using parametric equations.

      Parameters

      • phi: number

        Angle from the positive z-axis (0 to π/2 for hemiellipsoid)

      • theta: number

        Angle in the xy-plane from the positive x-axis (0 to 2π)

      Returns Vector3

      Point on the hemiellipsoid surface in local coordinates