Skip to content

Commit

Permalink
weird fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KatKatKateryna committed Jun 29, 2024
1 parent 85442cd commit 2178792
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ public struct CRSoffsetRotation
public double LonOffset { get; set; }
public double TrueNorthRadians { get; set; }

public SOG.Point OffsetRotateOnReceive(SOG.Point point)
public SOG.Point OffsetRotateOnReceive(SOG.Point pointOriginal)
{
// scale point to match units of the SpatialReference
string originalUnits = point.units;
point = ScalePoint(point, originalUnits, SpeckleUnitString);
string originalUnits = pointOriginal.units;
SOG.Point point = ScalePoint(pointOriginal, originalUnits, SpeckleUnitString);

// rotate coordinates
NormalizeAngle();
Expand Down

0 comments on commit 2178792

Please sign in to comment.