EndPoint
Overview
EndPoint is a class in Aspose.3D FOSS for Java.
Inherits from: Serializable.
The end point to trim the curve, can be a parameter value or a Cartesian point.
This class provides 14 methods for working with EndPoint objects in Java programs.
Available methods include: EndPoint, clone, copyFrom, equals, fromDegree, fromRadian, getAsPoint, getAsValue, hashCode, isCartesianPoint, toString.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: asPoint, asValue, cartesianPoint.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
cartesianPoint | boolean | Read | Is the end point a Cartesian point? |
asPoint | Vector3 | Read | Gets the end point as Cartesian point, or thrown an exception. |
asValue | double | Read | Gets the end point as a real parameter, or throw an exception. |
Methods
| Signature | Description |
|---|---|
EndPoint() | Default constructor. |
EndPoint(point: Vector3) | Construct a EndPoint from a Cartesian point. |
EndPoint(v: double) | Construct a EndPoint from a real parameter. |
fromDegree(degree: double) → EndPoint | Create an end point measured in degree. |
fromRadian(degree: double) → EndPoint | Create an end point measured in radian. |
isCartesianPoint() → boolean | Is the end point a Cartesian point? |
getAsPoint() → Vector3 | Gets the end point as Cartesian point, or thrown an exception. |
getAsValue() → double | Gets the end point as a real parameter, or throw an exception. |
toString() → String | Returns a string representation of the current end point. |
clone() → EndPoint | Calls clone on this EndPoint instance. |
copyFrom(src: EndPoint) | Copy from another EndPoint. |
copyFrom(src: Object) | Copy from another Object. |
equals(obj: Object) → boolean | Calls equals(obj) on this EndPoint instance. |
hashCode() → int | Calls hashCode on this EndPoint instance. |