Example #1
0
 /// <summary>
 /// Transform this point from sourceTransform to destinationTransform.
 /// </summary>
 /// <returns>The other transform.</returns>
 /// <param name="sourceTransform">The current transform of the point.</param>
 /// <param name="destinationTransform">The destination transform.</param>
 public Point ChangeTransform(Transform sourceTransform, Transform destinationTransform)
 {
     return(new Point(
                position: Position.ChangeTransformOfPosition(sourceTransform, destinationTransform),
                normal: HasNormal ? Normal.ChangeTransformOfDirection(sourceTransform, destinationTransform) : NoNormal
                ));
 }