Skip to content

Commit

Permalink
added triangle interpolation and find if points on line
Browse files Browse the repository at this point in the history
  • Loading branch information
TobyKLight committed Sep 9, 2023
1 parent 14a9d9d commit cc653fd
Show file tree
Hide file tree
Showing 12 changed files with 1,980 additions and 63 deletions.
8 changes: 4 additions & 4 deletions VL.Clipper.vl
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@
<ControlPoint Id="HWiVpkko7EoQZJOUAiE5H4" Bounds="1154,87" />
<ControlPoint Id="D4uPf5PhzevOBFkrk2dHu0" Bounds="1171,62" />
<ControlPoint Id="RjC6DID2qN3NoYTfNNV9uL" Bounds="1194,32" />
<Node Bounds="1090,189" Id="FgUaLh8pIpdQDuZj0NfIVT">
<Node Bounds="1090,189,105,19" Id="FgUaLh8pIpdQDuZj0NfIVT">
<p:NodeReference LastCategoryFullName="Clipper.Poly" LastDependency="VL.Clipper.vl">
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
<Choice Kind="ProcessAppFlag" Name="Execute" />
Expand Down Expand Up @@ -694,7 +694,7 @@
<ControlPoint Id="H39yBF60eyWNowoBQxNKPB" Bounds="1152,80" />
<ControlPoint Id="EZ5jpXMgUN5P7L3Li5qiEL" Bounds="1169,55" />
<ControlPoint Id="VTuo31bccDoPFSX1IfRh0j" Bounds="1192,25" />
<Node Bounds="1090,189" Id="CZQgNwRfRLHNiMDd8euEIN">
<Node Bounds="1090,189,105,19" Id="CZQgNwRfRLHNiMDd8euEIN">
<p:NodeReference LastCategoryFullName="Clipper.Poly" LastDependency="VL.Clipper.vl">
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
<Choice Kind="ProcessAppFlag" Name="Execute" />
Expand Down Expand Up @@ -1102,7 +1102,7 @@
</p:NodeReference>
<Patch Id="G5Ts1CI4VRSPpVqaBm7TkZ">
<Canvas Id="Lc8ahPEMyubLIlJMzcskG4" CanvasType="Group">
<Node Bounds="373,498" Id="CiNguBWaaIFQJ7FcwSkH0A">
<Node Bounds="373,498,25,19" Id="CiNguBWaaIFQJ7FcwSkH0A">
<p:NodeReference LastCategoryFullName="ClipperLib.Clipper" LastDependency="clipper_library.dll">
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
<Choice Kind="OperationCallFlag" Name="PointInPolygon" />
Expand Down Expand Up @@ -1143,7 +1143,7 @@
<Patch Id="NG9KASRkLWUP7KzMwdoEV8" Name="Create" ManuallySortedPins="true" />
<Patch Id="AHSO5bL42jqLcP4ROhP2y8" Name="Update" ManuallySortedPins="true" />
<Patch Id="U6swGo6JWVFPosQU3YVERz" Name="Dispose" ManuallySortedPins="true" />
<Node Bounds="509,409" Id="KKcx0BW2QlCLbug1za5IOW">
<Node Bounds="509,409,57,26" Id="KKcx0BW2QlCLbug1za5IOW">
<p:NodeReference LastCategoryFullName="Collections.Mutable.MutableList" LastDependency="VL.CoreLib.vl">
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
<CategoryReference Kind="ClassType" Name="MutableList" />
Expand Down
487 changes: 487 additions & 0 deletions VL.PolyTools.SplineLine.vl

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions VL.PolyTools.Stride.vl
Original file line number Diff line number Diff line change
Expand Up @@ -1288,12 +1288,12 @@
<Pin Id="KyDNJPgBmcNMTWYhWjGgT1" Name="Output" Kind="OutputPin" />
</Node>
<ControlPoint Id="P8YITcSRlgfNf0Ktj3t6r8" Bounds="556,372" />
<ControlPoint Id="Mpzqtd3VQXQPncr6he0GLI" Bounds="436,583" />
<ControlPoint Id="Mpzqtd3VQXQPncr6he0GLI" Bounds="426,692" />
<ControlPoint Id="Cy3WtkMbDnhOI6ue8fjrhQ" Bounds="342,415" />
<ControlPoint Id="UVqRxs14MFYMl5w8toWPV2" Bounds="469,284" />
<ControlPoint Id="SvjjqoKgNONLfDW7dxKAiX" Bounds="813,280" />
<ControlPoint Id="ONGaur5fn1dLkOJk1z0S5o" Bounds="885,278" />
<Node Bounds="434,526,105,19" Id="GPipkMrePeCNiVN1CsW9gy">
<Node Bounds="424,635,105,19" Id="GPipkMrePeCNiVN1CsW9gy">
<p:NodeReference LastCategoryFullName="Stride" LastDependency="VL.Stride.vl">
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
<Choice Kind="ProcessAppFlag" Name="Group" />
Expand Down Expand Up @@ -9372,7 +9372,7 @@
<Pin Id="U5LbCTwVuCjMfneFnuILG9" Name="Enabled" Kind="InputPin" />
<Pin Id="FCC1twfHhuoLarUGchW7Fo" Name="Entity" Kind="OutputPin" />
</Node>
<Node Bounds="928,413,55,26" Id="Faew5Qgm6mULC3Snf7YXNk">
<Node Bounds="928,413,69,26" Id="Faew5Qgm6mULC3Snf7YXNk">
<p:NodeReference LastCategoryFullName="PolyTools.Stride.Polygon2DPlus" LastDependency="VL.PolyTools.Stride.vl">
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
<CategoryReference Kind="RecordType" Name="Polygon2DPlus" />
Expand Down Expand Up @@ -10889,7 +10889,7 @@
<Patch Id="NIFexrVvt1MOnVtHVIm4Ce" Name="SetPolygonFromOuterPoints">
<Pin Id="CryVKGp2mrrPYj410wruCh" Name="OuterContour" Kind="InputPin" />
</Patch>
<Patch Id="LdnWSdvahoQOCDI4ZaAFfY" Name="Join (3DPointsAndVector)" ParticipatingElements="UEjcuZdVALVLVm31qgAPbi">
<Patch Id="LdnWSdvahoQOCDI4ZaAFfY" Summary="Special join method for reverse projecting 3D polygon to 2D" Remarks="This is useful when you already have a polygon in 3D space (a set of vector3 points) and you want to turn it back into a 2D polygon PLUS height data.&#xD;&#xA;Do this by supplying an A and B position that is used as both translation and normal as the 'facing' of the polygon to treat as the height data." Name="Join (3DPointsAndVector)" ParticipatingElements="UEjcuZdVALVLVm31qgAPbi">
<Pin Id="Ruyp4rQWv6WOYYXJWXYjpc" Name="Points" Kind="InputPin">
<p:TypeAnnotation LastCategoryFullName="Collections" LastDependency="VL.CoreLib.vl">
<Choice Kind="TypeFlag" Name="Spread" />
Expand Down
Loading

0 comments on commit cc653fd

Please sign in to comment.