EndPoint
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.csporter.helpers.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 |
EndPoint(double v)
public EndPoint(double v)
Construct a EndPoint from a real parameter.
Parameters:
Parameter | Type | Description |
---|---|---|
v | double |
EndPoint()
public EndPoint()
clone()
public EndPoint clone()
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 |
Returns: EndPoint
fromRadian(double degree)
public static EndPoint fromRadian(double degree)
Create an end point measured in radian.
Parameters:
Parameter | Type | Description |
---|---|---|
degree | double |
Returns: EndPoint
getAsPoint()
public Vector3 getAsPoint()
Gets the end point as Cartesian point, or thrown an exception.
Returns: Vector3
getAsValue()
public double getAsValue()
Gets the end point as a real parameter, or throw an exception.
Returns: double
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
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 |