ShapeDrawingManagerAddCircle Method |
Namespace: VIZCore3D.NET.Manager
public int AddCircle( Vertex3D center, Vertex3D normal, float radius, int sideCount, int groupId, Color color, bool visible )
// 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 */ ); }