public SpeckleCircle(SpecklePoint center, SpeckleVector normal, double radius, string applicationId = null, Dictionary <string, object> properties = null) { this.Center = center; this.Normal = normal; this.Radius = radius; this.ApplicationId = applicationId; this.Properties = properties; SetHashes(Center.GeometryHash + Normal.GeometryHash + Radius); }
public SpeckleCircle(SpecklePoint center, SpeckleVector normal, double radius, string applicationId = null, Dictionary <string, object> properties = null) { this.Center = center; this.Normal = normal; this.Radius = radius; this.ApplicationId = applicationId; this.Properties = properties; GenerateHash(); }
public SpecklePlane(SpecklePoint origin, SpeckleVector normal, SpeckleVector XDir, SpeckleVector YDir, string applicationId = null, Dictionary <string, object> properties = null) { this.Origin = origin; this.Normal = normal; this.Xdir = XDir; this.Ydir = YDir; this.ApplicationId = applicationId; this.Properties = properties; SetHashes(origin.GeometryHash + normal.GeometryHash + Xdir.GeometryHash + YDir.GeometryHash); }
public SpecklePlane(SpecklePoint origin, SpeckleVector normal, SpeckleVector XDir, SpeckleVector YDir, string applicationId = null, Dictionary <string, object> properties = null) { this.Origin = origin; this.Normal = normal; this.Xdir = XDir; this.Ydir = YDir; this.ApplicationId = applicationId; this.Properties = properties; GenerateHash(); }