C# 클래스 R3.Geometry.Tile

파일 보기 프로젝트 열기: roice3/Honeycombs 1 사용 예제들

공개 메소드들

메소드 설명
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