예제 #1
0
        public SpeckleBrep(string base64, string provenance, SpeckleMesh displayValue, string applicationId = null, Dictionary <string, object> properties = null)
        {
            this.Base64        = base64;
            this.Provenance    = provenance;
            this.DisplayValue  = displayValue;
            this.ApplicationId = applicationId;
            this.Properties    = properties;

            SetHashes(this.DisplayValue.GeometryHash);
        }
예제 #2
0
        public SpeckleBrep(object rawData, string provenance, SpeckleMesh displayValue, string applicationId = null, Dictionary <string, object> properties = null)
        {
            this.RawData       = rawData;
            this.Provenance    = provenance;
            this.DisplayValue  = displayValue;
            this.ApplicationId = applicationId;
            this.Properties    = properties;

            GenerateHash();
        }