Exemple #1
0
 public HndzLine(string name, string description, double x1, double y1, double z1, double x2, double y2, double z2) : base(name, description)
 {
     LocalId   = ++Id;
     baseNode  = new HndzNode(x1, y1, z1);
     EndNode   = new HndzNode(x2, y2, z2);
     RhinoLine = new Line(baseNode.Point, EndNode.Point);
 }
Exemple #2
0
 public HndzSupport(string name, string description, HndzSupportTypeEnum supportType, HndzNode location = null) :
     base(name, description)
 {
     LocalId     = ++Id;
     SupportType = supportType;
     Location    = location;
 }
Exemple #3
0
 public HndzGrid(double x1, double y1, double z1, double x2, double y2, double z2, string name, string description) : base(name, description)
 {
     LocalId   = ++Id;
     StartNode = new HndzNode(x1, y1, z1);
     EndNode   = new HndzNode(x2, y2, z2);
 }
Exemple #4
0
 public HndzGrid(double x1, double y1, double z1, double x2, double y2, double z2) : base()
 {
     LocalId   = ++Id;
     StartNode = new HndzNode(x1, y1, z1);
     EndNode   = new HndzNode(x2, y2, z2);
 }
Exemple #5
0
 public HndzGrid(HndzNode startNode, HndzNode endNode) : base()
 {
     LocalId   = ++Id;
     StartNode = startNode;
     EndNode   = endNode;
 }
Exemple #6
0
 public HndzSupport(HndzSupportTypeEnum supportType, HndzNode location = null) :
     this(HndzResources.DefaultName, HndzResources.DefaultDescription, HndzSupportTypeEnum.Pinned)
 {
 }