Class PathElement3dfx

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected javafx.beans.property.ReadOnlyBooleanWrapper isEmpty
      Is Empty property.
      protected Point3dfx to
      Target point.
      protected PathElementType type
      Type of the element.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract javafx.beans.property.DoubleProperty ctrlX1Property()
      Replies the x coordinate of the first control point property.
      abstract javafx.beans.property.DoubleProperty ctrlX2Property()
      Replies the x coordinate of the second control point property.
      abstract javafx.beans.property.DoubleProperty ctrlY1Property()
      Replies the y coordinate of the first control point property.
      abstract javafx.beans.property.DoubleProperty ctrlY2Property()
      Replies the y coordinate of the second control point property.
      abstract javafx.beans.property.DoubleProperty ctrlZ1Property()
      Replies the z coordinate of the first control point property.
      abstract javafx.beans.property.DoubleProperty ctrlZ2Property()
      Replies the z coordinate of the second control point property.
      abstract boolean equals​(Object obj)  
      abstract javafx.beans.property.DoubleProperty fromXProperty()
      Replies the x coordinate of the starting point property.
      abstract javafx.beans.property.DoubleProperty fromYProperty()
      Replies the y coordinate of the starting point property.
      abstract javafx.beans.property.DoubleProperty fromZProperty()
      Replies the z coordinate of the starting point property.
      double getToX()
      Replies the x coordinate of the target point.
      double getToY()
      Replies the y coordinate of the target point.
      double getToZ()
      Replies the z coordinate of the target point.
      PathElementType getType()
      Replies the type of the element.
      abstract int hashCode()  
      boolean isEmpty()
      Replies if the element is empty, ie. the points are the same.
      abstract javafx.beans.property.BooleanProperty isEmptyProperty()
      Replies the property that indicates if this patth element is empty.
      abstract javafx.beans.property.DoubleProperty[] toArray()
      Copy the coords into an array, except the source point.
      abstract void toArray​(javafx.beans.property.DoubleProperty[] array)
      Copy the coords into the given array, except the source point.
      String toString()  
      javafx.beans.property.DoubleProperty toXProperty()
      Replies the x coordinate of the target point property.
      javafx.beans.property.DoubleProperty toYProperty()
      Replies the y coordinate of the target point property.
      javafx.beans.property.DoubleProperty toZProperty()
      Replies the z coordinate of the target point property.
    • Field Detail

      • isEmpty

        protected javafx.beans.property.ReadOnlyBooleanWrapper isEmpty
        Is Empty property.
    • Constructor Detail

      • PathElement3dfx

        PathElement3dfx​(PathElementType type,
                        javafx.beans.property.DoubleProperty tox,
                        javafx.beans.property.DoubleProperty toy,
                        javafx.beans.property.DoubleProperty toz)
        Constructor.
        Parameters:
        type - is the type of the element.
        tox - the x coordinate of the target point.
        toy - the x coordinate of the target point.
        toz - the x coordinate of the target point.
      • PathElement3dfx

        PathElement3dfx​(PathElementType type,
                        Point3dfx toPoint)
        Constructor by setting.
        Parameters:
        type - is the type of the element.
        toPoint - the point to set as the target point.
    • Method Detail

      • equals

        @Pure
        public abstract boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • hashCode

        @Pure
        public abstract int hashCode()
        Overrides:
        hashCode in class Object
      • isEmptyProperty

        public abstract javafx.beans.property.BooleanProperty isEmptyProperty()
        Replies the property that indicates if this patth element is empty.
        Returns:
        the isEmpty property.
      • isEmpty

        public boolean isEmpty()
        Description copied from interface: PathElement3D
        Replies if the element is empty, ie. the points are the same.
        Specified by:
        isEmpty in interface PathElement3D
        Returns:
        true if the points are the same; otherwise false.
      • getToX

        @Pure
        public final double getToX()
        Description copied from interface: PathElement3afp
        Replies the x coordinate of the target point.
        Specified by:
        getToX in interface PathElement3afp
        Returns:
        the x coordinate.
      • getToY

        @Pure
        public final double getToY()
        Description copied from interface: PathElement3afp
        Replies the y coordinate of the target point.
        Specified by:
        getToY in interface PathElement3afp
        Returns:
        the y coordinate.
      • getToZ

        @Pure
        public final double getToZ()
        Description copied from interface: PathElement3afp
        Replies the z coordinate of the target point.
        Specified by:
        getToZ in interface PathElement3afp
        Returns:
        the z coordinate.
      • fromXProperty

        @Pure
        public abstract javafx.beans.property.DoubleProperty fromXProperty()
        Replies the x coordinate of the starting point property.
        Returns:
        the x coordinate, or null if the type is PathElementType.MOVE_TO.
      • fromYProperty

        @Pure
        public abstract javafx.beans.property.DoubleProperty fromYProperty()
        Replies the y coordinate of the starting point property.
        Returns:
        the y coordinate, or null if the type is PathElementType.MOVE_TO.
      • fromZProperty

        @Pure
        public abstract javafx.beans.property.DoubleProperty fromZProperty()
        Replies the z coordinate of the starting point property.
        Returns:
        the z coordinate, or null if the type is PathElementType.MOVE_TO.
      • toXProperty

        @Pure
        public javafx.beans.property.DoubleProperty toXProperty()
        Replies the x coordinate of the target point property.
        Returns:
        the x coordinate.
      • toYProperty

        @Pure
        public javafx.beans.property.DoubleProperty toYProperty()
        Replies the y coordinate of the target point property.
        Returns:
        the y coordinate.
      • toZProperty

        @Pure
        public javafx.beans.property.DoubleProperty toZProperty()
        Replies the z coordinate of the target point property.
        Returns:
        the z coordinate.
      • toArray

        @Pure
        public abstract void toArray​(javafx.beans.property.DoubleProperty[] array)
        Copy the coords into the given array, except the source point.
        Parameters:
        array - the output array.
      • toArray

        @Pure
        public abstract javafx.beans.property.DoubleProperty[] toArray()
        Copy the coords into an array, except the source point.
        Returns:
        the array of the points, except the source point.