public class PD1Creator extends Object
| コンストラクタ | 説明 |
|---|---|
PD1Creator() |
| 修飾子とタイプ | メソッド | 説明 |
|---|---|---|
int |
AddPoint(PD1Point point) |
Adds a point to the map.
|
int |
CreatePoint(com.daxie.basis.vector.Vector position,
float rotation,
int parameter_1,
int parameter_2,
int parameter_3,
int parameter_4) |
Creates a point.
|
int |
DuplicatePoint(int point_handle) |
Duplicates a point.
|
Set<Integer> |
GetPointHandles() |
Returns all point handles.
|
int |
RemovePoint(int point_handle) |
Removes a point.
|
int |
SetPointParameters(int point_handle,
int parameter_1,
int parameter_2,
int parameter_3,
int parameter_4) |
Sets the parameters of a point.
|
int |
SetPointPosition(int point_handle,
com.daxie.basis.vector.Vector position) |
Sets the position of a point.
|
int |
SetPointRotation(int point_handle,
float rotation) |
Sets the rotation of a point.
|
int |
Write(String pd1_filename,
float offset_y) |
Writes out points into a PD1 file.
|
public int AddPoint(PD1Point point)
point - Pointpublic int DuplicatePoint(int point_handle)
point_handle - Handle of the point to be duplicatedpublic int CreatePoint(com.daxie.basis.vector.Vector position,
float rotation,
int parameter_1,
int parameter_2,
int parameter_3,
int parameter_4)
position - Positionrotation - Rotation (radian)parameter_1 - Parameter 1parameter_2 - Parameter 2parameter_3 - Parameter 3parameter_4 - Parameter 4public int SetPointPosition(int point_handle,
com.daxie.basis.vector.Vector position)
point_handle - Handle of the pointposition - Positionpublic int SetPointRotation(int point_handle,
float rotation)
point_handle - Handle of the pointrotation - Rotation (radian)public int SetPointParameters(int point_handle,
int parameter_1,
int parameter_2,
int parameter_3,
int parameter_4)
point_handle - Handle of the pointparameter_1 - Parameter 1parameter_2 - Parameter 2parameter_3 - Parameter 3parameter_4 - Parameter 4public int RemovePoint(int point_handle)
point_handle - Point handlepublic int Write(String pd1_filename, float offset_y)
pd1_filename - PD1 filenameoffset_y - Y-direction offsetCopyright © 2019. All rights reserved.