Exemplo n.º 1
0
 internal Point PointOnCircumference(Vector directionFromCenter)
 {
     var r = this.RadiusInDirection(directionFromCenter);
     return this.CenterPoint + r * directionFromCenter.Normalized();
 }
Exemplo n.º 2
0
 internal Ray(Point point, Vector direction)
 {
     this.Point = point;
     this.Direction = direction.Normalized();
 }