高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】[请问]如何判断一条polyline是否闭合?
[请问]如何判断一条polyline是否闭合?
[请问]如何判断一条polyline是否闭合?
[请问]如何判断一条polyline是否闭合?
谢谢!
adesk::boolean
isclosed() const;
this function returns adesk::ktrue if the polyline is closed or adesk::kfalse if not. if it is closed, then the last vertex will be considered connected to the first vertex by a segment; otherwise, the last and first vertices are not connected by a segment
//
you can look up the reference
|