DrawCircle
Overloads
DrawCircle(Point center, int height, int radius, int sideCount, int groupId, Color color, float thickness, bool visible)
public int DrawCircle(Point center, int height, int radius, int sideCount, int groupId, Color color, float thickness, bool visible)
Draw Circle (Only Z+)
Parameters
| Name | Type | Description |
|---|---|---|
| center | Point | Center Point |
| height | int | Height |
| radius | int | Radius |
| sideCount | int | Side Count : 12 ~ 36 |
| groupId | int | Group Id |
| color | Color | 라인 색상 |
| thickness | float | 라인 두께 |
| visible | bool | 보이기/숨기기 상태 |
Returns
| Type | Description |
|---|---|
| int | 등록된 개체 ID |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
System.Drawing.Point center = new System.Drawing.Point(562299, -209947);
int shapeId = vizcore3d.ShapeDrawing.DrawCircle(
center /* Center Point */
, 91127 /* Height */
, 46685 /* Radius */
, 36 /* Side Count : 12 ~ 36 */
, 1 /* Group Id */
, Color.Purple /* Line Color */
, 5 /* Thickness */
, true /* Visible */
);
}
DrawCircle(Vertex3D center, Vertex3D normal, float radius, int sideCount, int groupId, Color color, float thickness, bool visible)
public int DrawCircle(Vertex3D center, Vertex3D normal, float radius, int sideCount, int groupId, Color color, float thickness, bool visible)
Draw Circle
Parameters
| Name | Type | Description |
|---|---|---|
| center | Vertex3D | Center Point |
| normal | Vertex3D | 면 방향 |
| radius | float | Radius |
| sideCount | int | Side Count : 12 ~ 36 |
| groupId | int | Group Id |
| color | Color | 라인 색상 |
| thickness | float | 라인 두께 |
| visible | bool | 보이기/숨기기 상태 |
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.DrawCircle(
center /* Center Point */
, normal /* normal */
, 50 /* Radius */
, 36 /* Side Count : 12 ~ 36 */
, 1 /* Group Id */
, Color.Purple /* Line Color */
, 5 /* Thickness */
, true /* Visible */
);
}