본문으로 건너뛰기

DrawCircle

Overloads

NameDescription
DrawCircle(Point center, int height, int radius, int sideCount, int groupId, Color color, float thickness, bool visible)Draw Circle (Only Z+)
DrawCircle(Vertex3D center, Vertex3D normal, float radius, int sideCount, int groupId, Color color, float thickness, bool visible)Draw Circle

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

NameTypeDescription
centerPointCenter Point
heightintHeight
radiusintRadius
sideCountintSide Count : 12 ~ 36
groupIdintGroup Id
colorColor라인 색상
thicknessfloat라인 두께
visiblebool보이기/숨기기 상태

Returns

TypeDescription
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

NameTypeDescription
centerVertex3DCenter Point
normalVertex3D면 방향
radiusfloatRadius
sideCountintSide Count : 12 ~ 36
groupIdintGroup Id
colorColor라인 색상
thicknessfloat라인 두께
visiblebool보이기/숨기기 상태

Returns

TypeDescription
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 */
);
}