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

ConstructorDescription
EndPoint(Vector3 point)Construct a EndPoint from a Cartesian point.
EndPoint(double v)Construct a EndPoint from a real parameter.
EndPoint()

Methods

MethodDescription
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:

ParameterTypeDescription
pointVector3

EndPoint(double v)

public EndPoint(double v)

Construct a EndPoint from a real parameter.

Parameters:

ParameterTypeDescription
vdouble

EndPoint()

public EndPoint()

clone()

public EndPoint clone()

Returns: EndPoint

copyFrom(EndPoint src)

public void copyFrom(EndPoint src)

Parameters:

ParameterTypeDescription
srcEndPoint

equals(Object obj)

public boolean equals(Object obj)

Parameters:

ParameterTypeDescription
objjava.lang.Object

Returns: boolean

fromDegree(double degree)

public static EndPoint fromDegree(double degree)

Create an end point measured in degree.

Parameters:

ParameterTypeDescription
degreedouble

Returns: EndPoint

fromRadian(double degree)

public static EndPoint fromRadian(double degree)

Create an end point measured in radian.

Parameters:

ParameterTypeDescription
degreedouble

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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int