Class OpenCVPoint3Wrapper

  • All Implemented Interfaces:
    Point2Wrapper<org.opencv.core.Point3>, Point3Wrapper<org.opencv.core.Point3>

    public class OpenCVPoint3Wrapper
    extends AbstractPoint3Wrapper<org.opencv.core.Point3>

    Class for wrapping a three-dimensional point of the opencv framework.

    Since:
    1.0
    Author:
    Christoph Praschl
    • Constructor Detail

      • OpenCVPoint3Wrapper

        public OpenCVPoint3Wrapper​(double x,
                                   double y,
                                   double z)
      • OpenCVPoint3Wrapper

        public OpenCVPoint3Wrapper​(org.opencv.core.Point3 point)
        Constructor for a new AbstractPoint2Wrapper
        Parameters:
        point - The point which should be wrapped
    • Method Detail

      • getX

        public double getX()
        Getter for the x-coordinate
        Returns:
        Returns the value of the x-coordinate.
      • setX

        public void setX​(double x)
        Setter for the x-coordinate
        Parameters:
        x - value which should be assigned to the x-coordinate
      • getY

        public double getY()
        Getter for the y-coordinate
        Returns:
        Returns the value of the y-coordinate.
      • setY

        public void setY​(double y)
        Setter for the y-coordinate
        Parameters:
        y - value which should be assigned to the y-coordinate
      • getZ

        public double getZ()
        Getter for the z-coordinate
        Returns:
        Returns the value of the z-coordinate, if this is a three-dimensional point.
      • setZ

        public void setZ​(double z)
        Setter for the z-coordinate
        Parameters:
        z - value which should be assigned to the z-coordinate, if this is a three-dimensional point.