Skip to content
Snippets Groups Projects
Commit 05b2d0aa authored by Emilie Marchandise's avatar Emilie Marchandise
Browse files

No commit message

No commit message
parent eb34e0a6
No related branches found
No related tags found
No related merge requests found
// Gmsh - Copyright (C) 1997-2010 C. Geuzaine, J.-F. Remacle
//
// See the LICENSE.txt file for license information. Please report all
// bugs and problems to <gmsh@geuz.org>.
#include "GPoint.h"
#include "Bindings.h"
void GPoint::registerBindings(binding *b)
{
classBinding *cb = b->addClass<GPoint>("GPoint");
cb->setDescription("A GPoint.");
methodBinding *cm;
cm = cb->addMethod("x", (double (GPoint::*)() const) &GPoint::x);
cm->setDescription("Return the x-coordinate.");
cm = cb->addMethod("y", (double (GPoint::*)() const) &GPoint::y);
cm->setDescription("Return the y-coordinate.");
cm = cb->addMethod("z", (double (GPoint::*)() const) &GPoint::z);
cm->setDescription("Return the z-coordinate.");
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment