Package 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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EndPoint
clone()
void
copyFrom(EndPoint src)
boolean
equals(java.lang.Object obj)
static EndPoint
fromDegree(double degree)
Create an end point measured in degree.static EndPoint
fromRadian(double degree)
Create an end point measured in radian.Vector3
getAsPoint()
Gets the end point as Cartesian point, or thrown an exception.double
getAsValue()
Gets the end point as a real parameter, or throw an exception.int
hashCode()
boolean
isCartesianPoint()
Is the end point a Cartesian point?java.lang.String
toString()
Returns a string representation of the current end point.
-
-
-
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 classjava.lang.Object
-
clone
public EndPoint clone()
- Specified by:
clone
in interfacecom.aspose.threed.Struct<EndPoint>
- Overrides:
clone
in classjava.lang.Object
-
copyFrom
public void copyFrom(EndPoint src)
- Specified by:
copyFrom
in interfacecom.aspose.threed.Struct<EndPoint>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-