private AddCurve ( GeometryObject obj ) : void | ||
obj | GeometryObject | a geometry object of element. |
return | void |
private void AddCurve(GeometryObject obj)
{
Curve curve = obj as Curve;
if (!curve.IsBound)
{
return;
}
// get a polyline approximation to the curve.
List<XYZ> points = curve.Tessellate() as List<XYZ>;
m_curve3Ds.Add(points);
}