com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class EndPoint

  • java.lang.Object
    • com.aspose.threed.EndPoint
  • All Implemented Interfaces:
    com.aspose.threed.Struct<EndPoint>, java.io.Serializable, java.lang.Cloneable


    public final class EndPoint
    extends java.lang.Object
    implements com.aspose.threed.Struct<EndPoint>, java.io.Serializable
    The end point to trim the curve, can be a parameter value or a cartesian point.
    See Also:
    Serialized Form
    • Constructor Detail

      • EndPoint

        public EndPoint(Vector3 point)
        Construct a EndPoint from a cartesian point.
        Parameters:
        point -
      • EndPoint

        public EndPoint(double v)
        Construct a EndPoint from a real parameter.
        Parameters:
        v -
      • EndPoint

        public EndPoint()
    • Method Detail

      • fromDegree

        public static EndPoint fromDegree(double degree)
        Create an end point measured in degree.
        Parameters:
        degree -
      • fromRadian

        public static EndPoint fromRadian(double degree)
        Create an end point measured in radian.
        Parameters:
        degree -
      • isCartesianPoint

        public boolean isCartesianPoint()
        Is the end point a cartesian point?
      • getAsPoint

        public Vector3 getAsPoint()
        Gets the end point as cartesian point, or thrown an exception.
      • getAsValue

        public double getAsValue()
        Gets the end point as a real parameter, or throw an exception.
      • toString

        public java.lang.String toString()
        Returns a string representation of the current end point.
        Overrides:
        toString in class java.lang.Object
      • clone

        public EndPoint clone()
        Specified by:
        clone in interface com.aspose.threed.Struct<EndPoint>
        Overrides:
        clone in class java.lang.Object
      • copyFrom

        public void copyFrom(EndPoint src)
        Specified by:
        copyFrom in interface com.aspose.threed.Struct<EndPoint>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object