/// <summary> /// /// </summary> /// <param name="point"></param> /// <returns></returns> public Vec3d Clamp(Vec3d point) { point.X = X.Clamp(point.X); point.Y = Y.Clamp(point.Y); point.Z = Z.Clamp(point.Z); return(point); }
/// <summary> /// /// </summary> /// <param name="point"></param> /// <returns></returns> public Vec2d Clamp(Vec2d point) { point.X = X.Clamp(point.X); point.Y = Y.Clamp(point.Y); return(point); }