AddCircle
Overloads
| Name | Description |
|---|---|
| AddCircle(Vertex3D center, Vertex3D normal, float radius, int sideCount, int groupId, Color color, bool visible) | 추가 |
AddCircle(Vertex3D center, Vertex3D normal, float radius, int sideCount, int groupId, Color color, bool visible)
public int AddCircle(Vertex3D center, Vertex3D normal, float radius, int sideCount, int groupId, Color color, bool visible)
추가
Parameters
| Name | Type | Description |
|---|---|---|
| center | Vertex3D | 중심점 |
| normal | Vertex3D | 방향 |
| radius | float | Radius |
| sideCount | int | 외곽 점 수 |
| groupId | int | Group ID |
| color | Color | 색상 |
| visible | bool | Visible |
Returns
| Type | Description |
|---|---|
| int | 등록된 개체 ID |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
Data.Vertex3D center = new Data.Vertex3D(0, -50, 0);
Data.Vertex3D normal = new Data.Vertex3D(0, 1, 0);
int shapeId = vizcore3d.ShapeDrawing.AddCircle(
center /* Center Vertex */
, 46685 /* Radius */
, 36 /* Side Count : 12 ~ 36 */
, normal /* normal */
, 1 /* Group Id */
, Color.Purple /* Line Color */
, true /* Visible */
);
}