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

NameTypeAccessDescription
cartesianPointbooleanReadIs the end point a Cartesian point?
asPointVector3ReadGets the end point as Cartesian point, or thrown an exception.
asValuedoubleReadGets the end point as a real parameter, or throw an exception.

Methods

SignatureDescription
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)EndPointCreate an end point measured in degree.
fromRadian(degree: double)EndPointCreate an end point measured in radian.
isCartesianPoint()booleanIs the end point a Cartesian point?
getAsPoint()Vector3Gets the end point as Cartesian point, or thrown an exception.
getAsValue()doubleGets the end point as a real parameter, or throw an exception.
toString()StringReturns a string representation of the current end point.
clone()EndPointCalls clone on this EndPoint instance.
copyFrom(src: EndPoint)Copy from another EndPoint.
copyFrom(src: Object)Copy from another Object.
equals(obj: Object)booleanCalls equals(obj) on this EndPoint instance.
hashCode()intCalls hashCode on this EndPoint instance.

See Also

 English