点击或拖拽改变大小

ModelerExtensionInterpolatePointsToCurve 方法

将点合成线

命名空间:  Du.SolidWorks.Extension
程序集:  Du.SolidWorks (在 Du.SolidWorks.dll 中) 版本:0.1.1.0 (0.1.1)
语法
public static Curve InterpolatePointsToCurve(
	this IModeler modeler,
	List<Vector3> points,
	double chordTolerance,
	bool simplify = true,
	bool closedCurve = false
)

参数

modeler
类型:IModeler

[缺少 "M:Du.SolidWorks.Extension.ModelerExtension.InterpolatePointsToCurve(SolidWorks.Interop.sldworks.IModeler,System.Collections.Generic.List{Du.SolidWorks.Math.Vector3},System.Double,System.Boolean,System.Boolean)" 的 <param name="modeler"/> 文档]

points
类型:System.Collections.GenericListVector3

[缺少 "M:Du.SolidWorks.Extension.ModelerExtension.InterpolatePointsToCurve(SolidWorks.Interop.sldworks.IModeler,System.Collections.Generic.List{Du.SolidWorks.Math.Vector3},System.Double,System.Boolean,System.Boolean)" 的 <param name="points"/> 文档]

chordTolerance
类型:SystemDouble

[缺少 "M:Du.SolidWorks.Extension.ModelerExtension.InterpolatePointsToCurve(SolidWorks.Interop.sldworks.IModeler,System.Collections.Generic.List{Du.SolidWorks.Math.Vector3},System.Double,System.Boolean,System.Boolean)" 的 <param name="chordTolerance"/> 文档]

simplify (Optional)
类型:SystemBoolean

[缺少 "M:Du.SolidWorks.Extension.ModelerExtension.InterpolatePointsToCurve(SolidWorks.Interop.sldworks.IModeler,System.Collections.Generic.List{Du.SolidWorks.Math.Vector3},System.Double,System.Boolean,System.Boolean)" 的 <param name="simplify"/> 文档]

closedCurve (Optional)
类型:SystemBoolean

[缺少 "M:Du.SolidWorks.Extension.ModelerExtension.InterpolatePointsToCurve(SolidWorks.Interop.sldworks.IModeler,System.Collections.Generic.List{Du.SolidWorks.Math.Vector3},System.Double,System.Boolean,System.Boolean)" 的 <param name="closedCurve"/> 文档]

返回值

类型:Curve

[缺少 "M:Du.SolidWorks.Extension.ModelerExtension.InterpolatePointsToCurve(SolidWorks.Interop.sldworks.IModeler,System.Collections.Generic.List{Du.SolidWorks.Math.Vector3},System.Double,System.Boolean,System.Boolean)" 的 <returns> 文档]

备注

在 Visual Basic 和 C# 中,这个方法可以当成为类型 IModeler 的实例方法来调用。在采用实例方法语法调用这个方法时,请省略第一个参数。请参考 扩展方法 (Visual Basic)扩展方法 (C# 编程指南) 获取更多信息。
参见