public BoundedSpace(FaceTypes tag, Bounds b, Vector3 forward) { tags = new BoundedSpaceTags(tag); this.bounds = b; neighbors = new Dictionary <Vector3, BoundedSpace>(); setForwardAndUp(forward, Vector3.forward); }
public BaseShape() { vertices = new List <Vector3>(); neighbors = new HashSet <BaseShape>(); tag = new BoundedSpaceTags(FaceTypes.IGNORE); groupMembers = new HashSet <BaseShape>(); }
public override bool Equals(object obj) { BoundedSpaceTags other = obj as BoundedSpaceTags; if (other == null) { return(false); } return(this.GetHashCode().Equals(other.GetHashCode())); }
public Edge(Vector3 p1, Vector3 p2, FaceTypes t) : this(p1, p2) { tag = new BoundedSpaceTags(t); }