Example #1
0
 public CadViewPort(String name, Model parentMdl,
  Point center, Double height, Double width,
  Vector scaleVec,
  Angle rotation)
     : this(name, parentMdl, center, new Vector(width, height, null), scaleVec, rotation)
 {
 }
Example #2
0
 public CadViewPort(String name, Model parentMdl)
 {
     this.parentModel = parentMdl;
      Name = name;
      ViewAspect = new Vector(3, 3, null);
      Origin = new Point(0,0);
      ScaleVector = new Vector(1.0, 1.0, 1.0);
      Rotation = new Angle(0);
      updateBoundingBox();
 }
Example #3
0
 public CadViewPort(String name, Model parentMdl,
  Point center, Vector aspectVec,
  Vector scaleVec,
  Angle rotation)
     : this(name, parentMdl)
 {
     Origin = center;
      ViewAspect = aspectVec;
      ScaleVector = scaleVec;
      Rotation = rotation;
 }
Example #4
0
 private void createABlankModel()
 {
     if(null == aModel)
      {
     aModel = new Model();
     dxfFileName_NCDOT_Dsn = @"..\..\..\TestDataSets\NCDOT_B4656\B4656_RDY_DSN.dxf";
      }
 }