Prod.: Engine, ver.: 6019, ID: 60001313, Wish : Combine method to return bulges and not sample points , and also Union improvement

Wish : Combine method to return bulges and not sample points , and also Union improvement

Article60001313
TypeWish
ProductEngine
Version6019
Date Added2/15/2011
FixedYes [3/17/2011]
Submitted byfhogan
Keywords

Subject

Combine method to return bulges and not sample points , and also Union improvement

Summary

Combine method to return bulges and not sample points , and also Union improvement

Solution

We added a new override Combine method with one extra parameter as following

summary : Create a combination between this polyline object and a vdCurve object.

curve:A vdCurve object with which the combination will be done.
combineMode:The combination operation.
FixArcEquality:Equality to be used to convert continous vertex in to arcs.Set it to 0 for no conversion.
returns>A collection of vdCurves as a result of the combination.
public vdCurves Combine(vdCurve curve, CombineMode combineMode,double FixArcEquality)

We also made some overrides of the Union command to accept collections and union several entities together.

summary:Try to Join the vdCurve objects of a collection with this object.
curves:A collection contains the object that will be joined with this object.
useSamplePoints:If true then divide all arc segments of curves into small line segments.
returns:True if at least one object was joined.
public bool UnionEx(vdCurves curves, bool useSamplePoints)

And also

summary:Try to Join the vdFigure objects of a selection with this object.
set:A selection set contains the object that will be joined with this object.
useSamplePoints:If true then divide all arc segments of curves into small line segments.
returns:True if at least one object was joined.
public bool UnionEx(vdSelection set, bool useSamplePoints)