乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 28|回复: 1

[求助]如何用已知的Point3d类型的点画Polyline2d的多段线?

[复制链接]

15

主题

23

帖子

2

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
83
发表于 2009-10-15 15:03:00 | 显示全部楼层 |阅读模式
已知2个Point3d类型的点 p1,p2, 请问下  怎么样以这2点为顶点画二维多段线Polyline2d
回复

使用道具 举报

72

主题

2726

帖子

9

银币

社区元老

Rank: 75Rank: 75Rank: 75

铜币
3014
发表于 2009-10-15 16:56:00 | 显示全部楼层
Polyline2d.AppendVertex Method
public ObjectId AppendVertex(
    Vertex2d vertexToAppend
);
This function appends the Vertex2d object to the vertex list of the polyline, establishes the polyline as the vertex's owner, and adds the vertex the Database that contains the polyline (the polyline must be database-resident for this function to succeed). It returns the object ID of the appended vertex.
The appended vertex must be explicitly closed by the calling application after the AppendVertex() call returns.
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-14 16:01 , Processed in 1.025823 second(s), 57 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表