public class Cad3DPoint extends Cad2DPoint
The Cad point.
Constructor and Description |
---|
Cad3DPoint()
Initializes a new instance of the
Cad3DPoint class. |
Cad3DPoint(double pointX,
double pointY)
Initializes a new instance of the
Cad3DPoint class. |
Cad3DPoint(double x,
double y,
double z)
Initializes a new instance of the
Cad3DPoint class. |
Modifier and Type | Method and Description |
---|---|
void |
addToCadParams_internalized(String subClass,
CadBase baseObject)
The add to Cad params.
|
static double |
angleBetween3Points(Cad3DPoint a,
Cad3DPoint b,
Cad3DPoint c)
Angles the between3 points.
|
double |
distance(Cad3DPoint destination)
The distance.
|
static Cad3DPoint |
fromAttributes(int attributeX,
int attributeY,
int attributeZ)
Initializes a new instance of the
Cad3DPoint class. |
double |
getZ()
Gets or sets the z.
|
static Cad3DPoint |
rotatePoint(Cad3DPoint pointToRotate,
Cad3DPoint centerPoint,
double angleInRadians)
Rotates one point arount another one
|
void |
setZ(double value) |
cad2DPointFromVertex_internalized, distance, fromAttributes, getFPoint, getFPointInternal_internalized, getParamX_internalized, getX, getY, setX, setY
public Cad3DPoint()
Initializes a new instance of the Cad3DPoint
class.
public Cad3DPoint(double x, double y, double z)
Initializes a new instance of the Cad3DPoint
class.
x
- The x ordinate.y
- The y ordinate.z
- The z ordinate.public Cad3DPoint(double pointX, double pointY)
Initializes a new instance of the Cad3DPoint
class.
pointX
- The pointX.pointY
- The point Y.public static Cad3DPoint fromAttributes(int attributeX, int attributeY, int attributeZ)
Initializes a new instance of the Cad3DPoint
class.
attributeX
- The attribute x.attributeY
- The attribute y.attributeZ
- The attribute z.public double getZ()
Gets or sets the z.
public void setZ(double value)
public static double angleBetween3Points(Cad3DPoint a, Cad3DPoint b, Cad3DPoint c)
Angles the between3 points.
a
- First Pointb
- second pointc
- third pointpublic static Cad3DPoint rotatePoint(Cad3DPoint pointToRotate, Cad3DPoint centerPoint, double angleInRadians)
Rotates one point arount another one
pointToRotate
- the point to rotatecenterPoint
- the centre point of rotationangleInRadians
- The angle In Radians.public double distance(Cad3DPoint destination)
The distance.
destination
- The destination.double
.public void addToCadParams_internalized(String subClass, CadBase baseObject)
The add to Cad params.
addToCadParams_internalized
in class Cad2DPoint
subClass
- The sub class.baseObject
- The base object.Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.