gzstyxb
路人甲
路人甲
  • 注册日期2004-09-22
  • 发帖数358
  • QQ
  • 铜币1045枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:2284回复:4

紧急求助:AE能不能给SDE里面线图层增加圆弧要素?(ArcMap可以)

楼主#
更多 发布于:2007-03-19 08:52
紧急求助:AE能不能给SDE里面线图层增加圆弧要素?ArcMap可以的。实际紧急,各位知道请指点指点。
喜欢0 评分0
由爱故生忧, 由爱故生怖. 若离于爱者, 无忧亦无怖.
hsghxm
路人甲
路人甲
  • 注册日期2004-10-27
  • 发帖数517
  • QQ4604052
  • 铜币1枚
  • 威望0点
  • 贡献值0点
  • 银元0个
1楼#
发布于:2007-03-19 15:55
<P>可以的,不过这样的图形不能导成CAD格式,其他应用基本没问题</P>
MSN:hsghxm@163.com QQ:4604052 (很少用,最好别加) Email:hsghxm@163.com 我的BOLG:http://www.gisempire.com/blog/user1/864/index.htm
举报 回复(0) 喜欢(0)     评分
gzstyxb
路人甲
路人甲
  • 注册日期2004-09-22
  • 发帖数358
  • QQ
  • 铜币1045枚
  • 威望0点
  • 贡献值0点
  • 银元0个
2楼#
发布于:2007-03-22 08:48
谢谢酷哥指点。
由爱故生忧, 由爱故生怖. 若离于爱者, 无忧亦无怖.
举报 回复(0) 喜欢(0)     评分
gis
gis
管理员
管理员
  • 注册日期2003-07-16
  • 发帖数15945
  • QQ554730525
  • 铜币25337枚
  • 威望15352点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
  • 帝国沙发管家
  • GIS帝国明星
  • GIS帝国铁杆
3楼#
发布于:2007-03-22 09:56
<P>这个是帮助里的例子</P><PRE><P>'This example demonstrates how to use the methods on ICurve</P>
<P>Public Sub CurveDemo()<BR>   Dim pCArc As ICircularArc<BR>   Set pCArc = New CircularArc<BR>   Dim pOrigin As IPoint<BR>   Set pOrigin = New Point<BR>   Dim pSubCArc As ICircularArc<BR>   Dim pTangent As ILine<BR>   Dim pNormal As ILine<BR>   Set pTangent = New Line<BR>   Set pNormal = New Line<BR>   Dim pTanPoint As IPoint<BR>   Set pTanPoint = New Point<BR>   Dim bAsRatio As Boolean<BR>   Dim pNearPoint As IPoint<BR>   Set pNearPoint = New Point<BR>   Dim DistOnCurve As Double<BR>   Dim NearDist As Double<BR>   Dim bRight As Boolean<BR>   Dim Pi As Double<BR>   <BR>   Pi = 4 * Atn(1)<BR>   <BR>   pOrigin.PutCoords 0, 0<BR>   pCArc.PutCoordsByAngle pOrigin, 0, 2 * Pi, 100   '0 to 2Pi = Full-arc<BR>   <BR>   'pSubCArc is Set by GetSubcurve.  Half-arc (Pi/2 to 3Pi/2)<BR>   pCArc.GetSubcurve 0.25, 0.75, True, pSubCArc<BR>   <BR>   MsgBox "Main: Closed? " ; pCArc.IsClosed ; vbCrLf ; "Length: " ; pCArc.Length ; vbCrLf _<BR>          ; "Sub: Closed? " ; pSubCArc.IsClosed ; vbCrLf ; "Length: " ; pSubCArc.Length<BR>   <BR>   'Subcurve From point (0.0) is the same as the main curve point at 0.25 (25%)<BR>   'Subcurve To point (1.0) is the same as the main curve point at 0.75 (75%)<BR>   MsgBox "Subcurve From: " ; OutputPoint(pSubCArc.FromPoint) ; vbCrLf ; _<BR>          "Subcurve T " ; OutputPoint(pSubCArc.ToPoint)<BR>   <BR>   'Query the tangent (length 20) of the point 0.3 (30%) along the subcurve<BR>   'Query the normal (length 10) of the point 0.4 (40%) along the main curve<BR>   'Note: 0.3 (30%) along the subcurve is the same point as the point<BR>   '      0.4 (40%) along the main curve<BR>   pSubCArc.QueryTangent esriExtendTangentAtFrom, 0.3, True, 20, pTangent<BR>   pCArc.QueryNormal esriExtendTangentAtFrom, 2 * pCArc.Length / 5, False, 10, pNormal<BR>   <BR>   MsgBox "Tangent: " ; OutputLine(pTangent) ; vbCrLf ; _<BR>          "Normal: " ; OutputLine(pNormal)<BR>   <BR>   'Finds the point along the To tangent extended 20% beyond the ToPoint<BR>   pCArc.QueryPoint esriExtendTangentAtTo, 1.2, True, pTanPoint<BR>   <BR>   MsgBox "Point on Tangent: " ; OutputPoint(pTanPoint)<BR>   <BR>   'Finds the point on the Circular Arc nearest to the point extended tangentially<BR>   'Returns the nearest point, the distance to the point, the distance along the curve,<BR>   '  whether the point is on the right side of the curve, and AsRatio indicator<BR>   pCArc.QueryPointAndDistance esriNoExtension, pTanPoint, bAsRatio, pNearPoint, DistOnCurve, NearDist, bRight<BR>   <BR>   MsgBox "Nearest Point: " ; OutputPoint(pNearPoint) ; vbCrLf ; _<BR>          "Distance: " ; NearDist<BR>   <BR>   pSubCArc.ReverseOrientation  'pSubCArc now is the arc from 3Pi/2 to Pi/2<BR>End Sub</P>
<P>Public Function OutputPoint(pPoint As IPoint) As String<BR>   OutputPoint = "(" ; pPoint.X ; ", " ; pPoint.Y ; ")"<BR>End Function<BR>Public Function OutputLine(pLine As ILine) As String<BR>   Dim pFromPoint As IPoint<BR>   Dim pToPoint As IPoint<BR>   Set pFromPoint = New Point<BR>   Set pToPoint = New Point<BR>   <BR>   pLine.QueryFromPoint pFromPoint<BR>   pLine.QueryToPoint pToPoint<BR>   OutputLine = "From " ; OutputPoint(pFromPoint) ; " to " ; OutputPoint(pToPoint)<BR>End Function</P></PRE>
举报 回复(0) 喜欢(0)     评分
ienown
路人甲
路人甲
  • 注册日期2006-11-14
  • 发帖数23
  • QQ6805791
  • 铜币149枚
  • 威望0点
  • 贡献值0点
  • 银元0个
4楼#
发布于:2008-03-20 18:04
学习一下。。。。。。。。。。
举报 回复(0) 喜欢(0)     评分
游客

返回顶部