Ejemplo n.º 1
0
 public NodeInfo(NodeInfoKind nodeKind, float x0, float y0, float x1, float y1)
 {
     this.NodeKind = nodeKind;
     this.pos      = new System.Numerics.Vector2(x0, y0);
     this.pos2     = new System.Numerics.Vector2(x1, y1);
 }
Ejemplo n.º 2
0
 public NodeInfo(NodeInfoKind nodeKind, System.Numerics.Vector2 pos)
 {
     this.pos      = pos;
     this.NodeKind = NodeInfoKind.Joint;
 }
Ejemplo n.º 3
0
 public NodeInfo(NodeInfoKind nodeKind, int borderNo)
 {
     this.VertexCommandNo = borderNo;
     this.NodeKind        = nodeKind;
 }
Ejemplo n.º 4
0
 public NodeInfo(NodeInfoKind nodeKind, EdgeLine edge, int edgeNo)
 {
     this.edge       = edge;
     this.TessEdgeNo = edgeNo;
     this.NodeKind   = nodeKind;
 }
 public NodeInfo(NodeInfoKind nodeKind, float x0, float y0, float x1, float y1)
 {
     this.NodeKind = nodeKind;
     _pos          = new Vector2f(x0, y0);
     _pos2         = new Vector2f(x1, y1);
 }
 public NodeInfo(NodeInfoKind nodeKind, Vector2f pos)
 {
     _pos          = pos;
     this.NodeKind = NodeInfoKind.Joint;
 }