Esempio n. 1
0
 public HalfPlane2D GetPortSide() =>
 HalfPlane2D.FromDirectionAndBoundaryPoint(Direction.RotateQuarterTurn(), BasePoint);
Esempio n. 2
0
 public HalfPlane2D GetStarboardSide() =>
 HalfPlane2D.FromDirectionAndBoundaryPoint(Direction.RotateReverseQuarterTurn(), BasePoint);
Esempio n. 3
0
 /// <summary>
 /// Construct the line perpendicular to <paramref name="offsetDirection"/> through
 /// <paramref name="pointOnLine"/>.
 /// </summary>
 public BoundaryLine2D(Direction2D offsetDirection, Point2D pointOnLine)
     : this(HalfPlane2D.FromDirectionAndBoundaryPoint(offsetDirection, pointOnLine))
 {
 }