Esempio n. 1
0
 public Class938(
     DxfViewport viewport,
     Matrix4D postTransform,
     double shapeFlattenEpsilon,
     double shapeFlattenEpsilonForBoundsCalculation,
     bool scaleLineTypes)
 {
     this.dxfViewport_0 = viewport;
     if (viewport == null)
     {
         throw new ArgumentException("Viewport may not be null");
     }
     this.double_0         = shapeFlattenEpsilon;
     this.double_1         = shapeFlattenEpsilonForBoundsCalculation;
     this.matrix4D_0       = viewport.method_14();
     this.matrix4D_1       = postTransform * viewport.method_15();
     this.matrix4D_2       = this.matrix4D_1 * this.matrix4D_0;
     this.blinnClipper4D_0 = new BlinnClipper4D(viewport.FrontClippingActive, viewport.BackClippingActive);
     if (scaleLineTypes)
     {
         this.matrix3D_0        = viewport.method_16();
         this.ilineTypeScaler_0 = Class624.Create(this.matrix3D_0);
     }
     else
     {
         this.matrix3D_0        = Matrix3D.Identity;
         this.ilineTypeScaler_0 = (ILineTypeScaler)Class624.Class626.class626_0;
     }
 }
Esempio n. 2
0
 public void SetPreTransform(Matrix4D preTransform)
 {
     this.matrix4D_0       *= preTransform;
     this.matrix4D_2        = this.matrix4D_1 * this.matrix4D_0;
     this.matrix3D_0       *= new Matrix3D(preTransform.M00, preTransform.M01, preTransform.M02, preTransform.M10, preTransform.M11, preTransform.M12, preTransform.M20, preTransform.M21, preTransform.M22);
     this.ilineTypeScaler_0 = Class624.Create(this.matrix3D_0);
 }
Esempio n. 3
0
 public Class383(Matrix4D transform, Matrix3D matrix3D)
 {
     this.matrix4D_0        = transform;
     this.matrix3D_0        = matrix3D;
     this.ilineTypeScaler_0 = Class624.Create(matrix3D);
 }