remove debug thingy
This commit is contained in:
parent
d811170716
commit
cce54d3a49
1 changed files with 0 additions and 2 deletions
|
@ -33,9 +33,7 @@ class NocTwoPointLayerSchema(BaseModel):
|
|||
@cached_property
|
||||
def to_transform(self) -> NocTransformLayerSchema:
|
||||
diff_noc = np.array(deg2pos(*self.latlng1_noc)) - np.array(deg2pos(*self.latlng2_noc))
|
||||
print(diff_noc)
|
||||
diff_nav = np.array(self.latlng1_nav) - np.array(self.latlng2_nav)
|
||||
print(diff_nav)
|
||||
scale = np.linalg.norm(diff_nav) / np.linalg.norm(diff_noc)
|
||||
offset = np.array(self.latlng1_nav) - (np.array(deg2pos(*self.latlng1_noc)) * scale)
|
||||
return NocTransformLayerSchema(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue