1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/geometry/circ2d3Tan/LinLinLin_11
nds 9294c8f774 0028631: Modeling Algorithms - Crash while building a 2D circle tangent to another circle and passing through its center
Code correction includes also:
- extending GccEnt to have GccEnt_Position conversion to string value and backward;
- new GeometryTest_DrawableQualifiedCurve2d DRAW object to wrap GccEnt_QualifiedCirc/GccEnt_QualifiedLin.
  It is a DrawTrSurf_Curve2d with GccEnt_Position visualized in orange color.
- qcircle/qline DRAW command to create instance of GeometryTest_DrawableQualifiedCurve2d
- circ2d3Tan DRAW command to wrap GccAna_Circ2d3Tan taking qcircle/qline/point arguments.
2017-08-17 22:21:32 +03:00

10 lines
251 B
Plaintext

qline l1 0 0 10 20
qline l2 0 0 10 -40
qline l3 160 0 -40 10
circ2d3Tan tan1 l1 l2 l3
checklength tan1_1 -l 213.09795279419643
checklength tan1_2 -l 284.90187851033369
checklength tan1_3 -l 131.38343888467227
checklength tan1_4 -l 63.235238531994284