Article | 41023325 |
Type | HowTo |
Product | Engine |
Version | 4.1.6.1028 |
Date Added | 12/8/2003 |
Submitted by | Takis Panagiotopoulos |
Keywords |
VDProLib.vdLine myline1; VDProLib.vdLine myline2; object a; myline1=vdpro.ActiveDocument.Entities.AddLine(new object[] {0,4},new object[] {4,0}); //x=-y+4 myline2=vdpro.ActiveDocument.Entities.AddLine(new object[] {0,0},new object[] {10,10}); //x=y a=myline1.IntersectWith(myline2,VDProLib.VdConstInters.VdIntExtendBoth); // the intersection point is (2,2)