org.apache.commons.math3.geometry.euclidean.threed
Interface IEllipsoid

All Superinterfaces:
Shape, SolidShape
All Known Implementing Classes:
Ellipsoid, Sphere, Spheroid

public interface IEllipsoid
extends SolidShape

Interface for Ellipsoid objects. Basic required methods required by objects implementing this interface are

  • getCenter


    Note : This interface extends SolidShape
     

    Since:
    1.0
    Version:
    $Id: IEllipsoid.java 17583 2017-05-10 13:05:10Z bignon $
    Author:
    Rami Houdroge

    Method Summary
     Vector3D closestPointTo(Vector3D point)
              Computes the point, on the ellipsoid surface, that is the closest to a point of space.
     Vector3D getCenter()
              Get ellipsoids' center
     Vector3D getNormal(Vector3D point)
              Computes the normal vector to the surface in local basis
     double getSemiA()
              Get semi axis A
     double getSemiB()
              Get semi axis B
     double getSemiC()
              Get semi axis C
     
    Methods inherited from interface org.apache.commons.math3.geometry.euclidean.threed.Shape
    closestPointTo, distanceTo, getIntersectionPoints, intersects
     

    Method Detail

    getCenter

    Vector3D getCenter()
    Get ellipsoids' center

    Returns:
    The position of the center as a Vector3D

    closestPointTo

    Vector3D closestPointTo(Vector3D point)
    Computes the point, on the ellipsoid surface, that is the closest to a point of space.

    Parameters:
    point - the point expressed in standard basis
    Returns:
    the closest point to the user point on the ellipsoid surface

    getNormal

    Vector3D getNormal(Vector3D point)
    Computes the normal vector to the surface in local basis

    Parameters:
    point - Point as a Vector3D in local basis
    Returns:
    the normal vector in local basis

    getSemiA

    double getSemiA()
    Get semi axis A

    Returns:
    semi axis a

    getSemiB

    double getSemiB()
    Get semi axis B

    Returns:
    semi axis b

    getSemiC

    double getSemiC()
    Get semi axis C

    Returns:
    semi axis c


    Copyright © 2017 CNES. All Rights Reserved.