#include <qs_pointwrapper.h>
Inheritance diagram for QS_PointWrapper:

Public Slots | |
| void | test () |
Public Member Functions | |
| QS_PointWrapper (RS_Point *p) | |
| QS_PointWrapper (QS_DocumentWrapper &doc, double x, double y) | |
| Constructor for a point with a coordinate position. | |
| QS_PointWrapper (QS_DocumentWrapper &doc, QS_VectorWrapper &p) | |
| Constructor for a point with a vector as position. | |
|
||||||||||||||||
|
Constructor for a point with a coordinate position. This example script creates a new point:
var doc = new Document;
var point = new Pnt(doc, // document
50,50); // position
doc.addEntity(point);
|
|
||||||||||||
|
Constructor for a point with a vector as position. This example script creates a new point:
var doc = new Document;
var v = new Vector(50,50);
var point = new Point(doc, // document
v); // position
doc.addEntity(point);
|
1.4.4