Go to the documentation of this file.
4 #ifndef tools_sg_ellipse
5 #define tools_sg_ellipse
24 virtual void*
cast(
const std::string& a_class)
const {
25 if(
void* p = cmp_cast<ellipse>(
this,a_class))
return p;
26 if(
void* p = cmp_cast<curve>(
this,a_class))
return p;
38 static const desc_fields s_v(parent::node_desc_fields(),5,
108 a_action.
zs().clear();
109 a_action.
ws().clear();
111 if(a_action.
done()) {
150 parent::operator=(a_from);
179 float phi1 = mn<float>(phimin,phimax);
180 float phi2 = mx<float>(phimin,phimax);
183 float dphi = (phi2-phi1)/
float(num);
185 for(
unsigned int i=0;i<=num;i++) {
186 angle = phi1 + float(i)*dphi;
#define TOOLS_NODE_NO_CAST(a__class, a__sclass, a__parent)
#define TOOLS_FIELD_DESC_NODE_CLASS(a__class)
#define TOOLS_ARG_FIELD_DESC(a__field)