コード例 #1
0
        public SpeckleInterval2d(SpeckleInterval U, SpeckleInterval V, Dictionary <string, object> properties = null)
        {
            this.U          = U;
            this.V          = V;
            this.Properties = properties;

            SetHashes(U.GeometryHash + V.GeometryHash);
        }
コード例 #2
0
        public SpeckleInterval2d(SpeckleInterval U, SpeckleInterval V, Dictionary <string, object> properties = null)
        {
            this.U          = U;
            this.V          = V;
            this.Properties = properties;

            GenerateHash();
        }
コード例 #3
0
        public SpeckleBox(SpecklePlane basePlane, SpeckleInterval xSize, SpeckleInterval ySize, SpeckleInterval zSize, string applicationId = null, Dictionary <string, object> properties = null)
        {
            this.BasePlane     = basePlane;
            this.XSize         = xSize;
            this.YSize         = ySize;
            this.ZSize         = zSize;
            this.ApplicationId = applicationId;
            this.Properties    = properties;

            SetHashes(BasePlane.GeometryHash + XSize.GeometryHash + YSize.GeometryHash + ZSize.GeometryHash);
        }
コード例 #4
0
        public SpeckleBox(SpecklePlane basePlane, SpeckleInterval xSize, SpeckleInterval ySize, SpeckleInterval zSize, string applicationId = null, Dictionary <string, object> properties = null)
        {
            this.BasePlane     = basePlane;
            this.XSize         = xSize;
            this.YSize         = ySize;
            this.ZSize         = zSize;
            this.ApplicationId = applicationId;
            this.Properties    = properties;

            GenerateHash();
        }