Esempio n. 1
0
 public FixtureKind(string name, HullMaterial material, double size)
 {
     this.Name = name;
     this.Size = size;
     this.Material = material;
 }
Esempio n. 2
0
 public void AddMaterial(HullMaterial material)
 {
     _materials.Add(material.Name, material);
     this.RaizePropertyChanged("Materials");
 }
Esempio n. 3
0
 public GateJoint(HullMaterial material)
 {
     this.Material = material;
 }
Esempio n. 4
0
        public Polygon(HullMaterial material, Point3D a, Point3D b, Point3D c)
        {
            this.Material = material;

            var n = Vector3D.CrossProduct(b - a, c - b);
            n.Normalize();
            var dst = (a.X * n.X + a.Y * n.Y + a.Z * n.Z);
            this.Plane = new Plane(n, dst);
        }
Esempio n. 5
0
 public CoverFragment(HullMaterial material, params Point3D[] points)
 {
     _points = new List<Point3D>(points);
     this.Material = material;
     this.Interpolation = CoverFragmentInterpolation.None;
 }