R3.Geometry.Tiling.NewTileAfterReflect C# (CSharp) Метод

NewTileAfterReflect() публичный Метод

This will return whether we'll be a new tile after reflecting through a segment. This allows us to do the check without having to do all the work of reflecting the entire tile.
public NewTileAfterReflect ( Tile t, Segment s, bool>.Dictionary completed ) : bool
t Tile
s Segment
completed bool>.Dictionary
Результат bool
        public bool NewTileAfterReflect( Tile t, Segment s, Dictionary<Vector3D, bool> completed )
        {
            /* This was too slow!
            Polygon newPolyBoundary = t.Boundary.Clone();
            newPolyBoundary.Reflect( s );
            Vector3D testCenter = this.TilingConfig.M.Apply( newPolyBoundary.Center );*/

            CircleNE newVertexCircle = t.VertexCircle.Clone();
            newVertexCircle.Reflect( s );
            Vector3D testCenter = this.TilingConfig.M.Apply( newVertexCircle.CenterNE );

            return !completed.ContainsKey( testCenter );
        }