public class PD1Manipulator extends Object
| コンストラクタ | 説明 |
|---|---|
PD1Manipulator() |
|
PD1Manipulator(String pd1_filename) |
| 修飾子とタイプ | メソッド | 説明 |
|---|---|---|
int |
GetPointNum() |
Returns the number of points contained in the PD1 file.
|
int |
GetPointNum(int param_1) |
Returns the number of the specified type of points contained in the PD1 file.
|
List<PD1Point> |
GetPoints() |
Returns points.
|
void |
InvertZ() |
Inverts z-axis.
|
void |
Rescale(Vector scale) |
Rescales every point.
|
void |
Rotate(Vector rotate) |
Rotates every point.
|
void |
RotateDirection(float rotate) |
Rotates the direction of every point.
|
void |
SetMatrix(Matrix m) |
Transforms every point with a matrix.
|
void |
SetPoints(List<PD1Point> points) |
Sets points.
|
void |
Translate(Vector translate) |
Translates every point.
|
int |
Write(String pd1_filename) |
Writes out data to a PD1 file.
|
public PD1Manipulator(String pd1_filename) throws FileNotFoundException
pd1_filename - PD1 filename to loadFileNotFoundException - PD1 file not foundpublic PD1Manipulator()
public int GetPointNum()
public int GetPointNum(int param_1)
param_1 - Parameter 1public void Translate(Vector translate)
translate - Translation vectorpublic void Rotate(Vector rotate)
rotate - Rotation vectorpublic void Rescale(Vector scale)
scale - Scaling vectorpublic void SetMatrix(Matrix m)
m - Transformation matrixpublic void RotateDirection(float rotate)
rotate - Rotation angle (radian)public void InvertZ()
public int Write(String pd1_filename)
pd1_filename - FilenameCopyright © 2019. All rights reserved.