EndPoint
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.threed.Struct, java.io.Serializable
public final class EndPoint implements Struct<EndPoint>, Serializable
The end point to trim the curve, can be a parameter value or a Cartesian point.
Constructors
| Constructor | Description |
|---|---|
| EndPoint(Vector3 point) | Construct a EndPoint from a Cartesian point. |
| EndPoint(double v) | Construct a EndPoint from a real parameter. |
| EndPoint() |
Methods
| Method | Description |
|---|---|
| clone() | |
| copyFrom(EndPoint src) | |
| equals(Object obj) | |
| fromDegree(double degree) | Create an end point measured in degree. |
| fromRadian(double degree) | Create an end point measured in radian. |
| getAsPoint() | Gets the end point as Cartesian point, or thrown an exception. |
| getAsValue() | Gets the end point as a real parameter, or throw an exception. |
| getClass() | |
| hashCode() | |
| isCartesianPoint() | Is the end point a Cartesian point? |
| notify() | |
| notifyAll() | |
| toString() | Returns a string representation of the current end point. |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
EndPoint(Vector3 point)
public EndPoint(Vector3 point)
Construct a EndPoint from a Cartesian point.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| point | Vector3 | Point to construct |
EndPoint(double v)
public EndPoint(double v)
Construct a EndPoint from a real parameter.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| v | double | The real number parameter for constructing an end point |
EndPoint()
public EndPoint()
clone()
public EndPoint clone()
Clone current instance
Returns: EndPoint
copyFrom(EndPoint src)
public void copyFrom(EndPoint src)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| src | EndPoint |
equals(Object obj)
public boolean equals(Object obj)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| obj | java.lang.Object |
Returns: boolean
fromDegree(double degree)
public static EndPoint fromDegree(double degree)
Create an end point measured in degree.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| degree | double | The value in degree |
Returns: EndPoint - An end point constructed from degree
fromRadian(double degree)
public static EndPoint fromRadian(double degree)
Create an end point measured in radian.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| degree | double | The value in radian |
Returns: EndPoint - An end point constructed from radian
getAsPoint()
public Vector3 getAsPoint()
Gets the end point as Cartesian point, or thrown an exception.
Returns: Vector3 - 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.
Returns: double - the end point as a real parameter, or throw an exception.
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public int hashCode()
Returns: int
isCartesianPoint()
public boolean isCartesianPoint()
Is the end point a Cartesian point?
Returns: boolean - Is the end point a Cartesian point?
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns a string representation of the current end point.
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |