AddGridStructure
Overloads
| Name | Description |
|---|---|
| AddGridStructure(int row, int column, float width, float bottom) | 정의되어 있는 origin 위치에 width와 heigth의 크기를 가지는 row by column의 GridStructure를 생성한다. 모든 GridCell은 동일한 크기로 생성된다. Origin은 Default 값으로 캔버스 좌표계 상에 (0, 0, 0) 값을 가진다. |
| AddGridStructure(int row, int column, float width, float bottom, float x, float y) | 캔버스 좌표계 상 x, y 지점에 width와 heigth의 크기를 가지는 row by column의 GridStructure를 생성한다. 모든 GridCell은 동일한 크기로 생성된다. |
AddGridStructure(int row, int column, float width, float bottom)
public void AddGridStructure(int row, int column, float width, float bottom)
정의되어 있는 origin 위치에 width와 heigth의 크기를 가지는 row by column의 GridStructure를 생성한다. 모든 GridCell은 동일한 크기로 생성된다. Origin은 Default 값으로 캔버스 좌표계 상에 (0, 0, 0) 값을 가진다.
Parameters
| Name | Type | Description |
|---|---|---|
| row | int | 행 개수 |
| column | int | 열 개수 |
| width | float | 폭 길이, mm |
| bottom | float | 높이, mm |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
vizcore3d.Drawing2D.GridStructure.AddGridStructure(3, 2, 210, 297); // 3 by 2 GridStructure 생성, 폭 210mm, 높이 297mm, 원점은 캔버스 좌표계 상 (0, 0, 0) 위치
}
AddGridStructure(int row, int column, float width, float bottom, float x, float y)
public void AddGridStructure(int row, int column, float width, float bottom, float x, float y)
캔버스 좌표계 상 x, y 지점에 width와 heigth의 크기를 가지는 row by column의 GridStructure를 생성한다. 모든 GridCell은 동일한 크기로 생성된다.
Parameters
| Name | Type | Description |
|---|---|---|
| row | int | 행 개수 |
| column | int | 열 개수 |
| width | float | 폭 길이, mm |
| bottom | float | 높이, mm |
| x | float | X 좌표, mm |
| y | float | Y 좌표, mm |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
vizcore3d.Drawing2D.GridStructure.AddGridStructure(3, 2, 210, 297, 10, 20); // 3 by 2 GridStructure 생성, 폭 210mm, 높이 297mm, 원점은 캔버스 좌표계 상 (10, 20, 0) 위치
}