GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
VG_CIRCLE(3) FreeBSD Library Functions Manual VG_CIRCLE(3)

VG_Circle
agar-vg circle entity

#include <agar/core.h>
#include <agar/gui.h>
#include <agar/vg.h>

VG_Circle is a VG(3) node class which describes a circle in terms of a centerpoint and a radius value.

VG_Circle *
VG_CircleNew(VG_Node *parent, VG_Point *centerPoint, float r);


void
VG_CircleCenter(VG_Circle *vc, VG_Point *centerPoint);


void
VG_CircleRadius(VG_Arc *vc, float r);

The VG_CircleNew() function creates a new circle entity attached to parent. centerPoint is a VG_Point(3) defining the center and r is the radius.

The VG_CircleCenter() routine changes the centerpoint of an existing VG_Circle. VG_CircleRadius() changes the radius.

VG(3), VG_Arc(3), VG_Point(3)

The VG_Circle class first appeared in Agar 1.3.3.
July 25, 2008 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.