public final class EndPoint extends java.lang.Object implements com.aspose.threed.Struct<EndPoint>, java.io.Serializable
Constructor and Description |
---|
EndPoint() |
EndPoint(double v)
Construct a
EndPoint from a real parameter. |
EndPoint(Vector3 point)
Construct a
EndPoint from a Cartesian point. |
Modifier and Type | Method and 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.
|
public EndPoint(Vector3 point)
EndPoint
from a Cartesian point.point
- public EndPoint(double v)
EndPoint
from a real parameter.v
- public EndPoint()
public static EndPoint fromDegree(double degree)
degree
- public static EndPoint fromRadian(double degree)
degree
- public boolean isCartesianPoint()
public Vector3 getAsPoint()
public double getAsValue()
public java.lang.String toString()
toString
in class java.lang.Object
public EndPoint clone()
clone
in interface com.aspose.threed.Struct<EndPoint>
clone
in class java.lang.Object
public void copyFrom(EndPoint src)
copyFrom
in interface com.aspose.threed.Struct<EndPoint>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object