@Entity public class CADInstance extends Object implements Serializable, Cloneable
PartUsageLink
PartSubstituteLink
.
By using its attributes: translation and orientation on the three axis
it will be possible to position the mesh to render it.Constructor and Description |
---|
CADInstance() |
CADInstance(double tx,
double ty,
double tz,
double rx,
double ry,
double rz) |
CADInstance(RotationMatrix rotationMatrix,
double tx,
double ty,
double tz) |
Modifier and Type | Method and Description |
---|---|
CADInstance |
clone() |
int |
getId() |
RotationMatrix |
getRotationMatrix() |
RotationType |
getRotationType() |
double |
getRx() |
double |
getRy() |
double |
getRz() |
double |
getTx() |
double |
getTy() |
double |
getTz() |
void |
setId(int id) |
void |
setRotationMatrix(RotationMatrix rotationMatrix) |
void |
setRotationType(RotationType rotationType) |
void |
setRx(double rx) |
void |
setRy(double ry) |
void |
setRz(double rz) |
void |
setTx(double tx) |
void |
setTy(double ty) |
void |
setTz(double tz) |
public CADInstance()
public CADInstance(double tx, double ty, double tz, double rx, double ry, double rz)
public CADInstance(RotationMatrix rotationMatrix, double tx, double ty, double tz)
public double getRx()
public double getRy()
public double getRz()
public double getTx()
public double getTy()
public double getTz()
public void setRx(double rx)
public void setRy(double ry)
public void setRz(double rz)
public void setTx(double tx)
public void setTy(double ty)
public void setTz(double tz)
public RotationMatrix getRotationMatrix()
public void setRotationMatrix(RotationMatrix rotationMatrix)
public RotationType getRotationType()
public void setRotationType(RotationType rotationType)
public int getId()
public void setId(int id)
public CADInstance clone()
Copyright © 2017 DocDoku. All rights reserved.