Assembly: VM.API.Pre.dll This class implements APIs for object control.
Inheritance
object ← ObjectControlAPIExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Methods
RotateObjectsDegree(IEnumerable<Obj>, Vector, Vector, double)
Rotate given Obj?text=objects by using rotation axis and angle(degree).Parameters
objs IEnumerable<Obj>
The collection of Obj?text=objects to rotate.
position Vector
The position of the axis.
direction Vector
The direction vetor of the rotation axis.
rotateAngleDegree double
The rotation angle.
Exceptions
ArgumentNullException Will be thrown when the collection of objects is null. ArgumentException Will be thrown if the magnitude of ‘direction’ is 0.TransformObjects(IEnumerable<Obj>, TMatrix)
Transform given Obj?text=objects by using TMatrix?text=transformation+matrix.Parameters
objs IEnumerable<Obj>
The collection of Obj?text=objects to transform.
transform TMatrix
The TMatrix?text=transformation+matrix