C# Класс R3.Geometry.Tile

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Clone ( ) : Tile
IncludeAfterMobius ( Mobius m ) : bool

ZZZ - needs to be part of performance setting? Returns true if the tile should be included after a Mobius transformation will be applied. If the tile is not be included, this method avoids applying the mobious transform to the entire tile.

Reflect ( Segment s ) : void
Tile ( ) : System.Collections.Generic
Tile ( Polygon boundary, Polygon drawn, Geometry geometry ) : System.Collections.Generic
Transform ( Isometry i ) : void
Transform ( Mobius m ) : void

Apply a Mobius transform to us.

Приватные методы

Метод Описание
ShrinkTile ( Tile &tile, double shrinkFactor ) : void

This will trim back the tile using an equidistant curve. It assumes the tile is at the origin.

ShrinkTileCorrect ( Tile &tile, double shrinkFactor ) : void

A correct implementation of shrink tile. hmmmm, is "scaling" even well defined in non-E geometries? Am I really looking for an equidistant curve? Sadly, even if I figure out what is best, I fear changing out usage of the incorrect one below in MagicTile, because of the possibility of breaking existing puzzles.

Описание методов

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

public Clone ( ) : Tile
Результат Tile

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

ZZZ - needs to be part of performance setting? Returns true if the tile should be included after a Mobius transformation will be applied. If the tile is not be included, this method avoids applying the mobious transform to the entire tile.
public IncludeAfterMobius ( Mobius m ) : bool
m R3.Math.Mobius
Результат bool

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

public Reflect ( Segment s ) : void
s Segment
Результат void

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

public Tile ( ) : System.Collections.Generic
Результат System.Collections.Generic

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

public Tile ( Polygon boundary, Polygon drawn, Geometry geometry ) : System.Collections.Generic
boundary Polygon
drawn Polygon
geometry Geometry
Результат System.Collections.Generic

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

public Transform ( Isometry i ) : void
i R3.Math.Isometry
Результат void

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

Apply a Mobius transform to us.
public Transform ( Mobius m ) : void
m R3.Math.Mobius
Результат void