.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
DescriptionReflect an object across an axis.
For a 2D reflection, the axis is a line containing arbitrary point p and extending along vector v.
The difference with Mirror, when preserveMatrix is set to true, is that this function preserves the matrix of the objects that have one, which leads to better visual results.
preserveMatrix :BOOLEAN) : HANDLE;
def vs.MirrorN(h, dup, p1, p2, preserveMatrix): return HANDLE
h HANDLE The object to reflect dup BOOLEAN If false, transform the original object to the new position. If true, create a new object p1 REAL An arbitrary point on the mirror axis p2 REAL A second arbitrary point on the mirror axis preserveMatrix BOOLEAN When this parameter is set to false, then this function works exactly the same as Mirror. Otherwise, objects that have matrices, such as Symbols and PIOs, get their matrices updated correctly with the mirror matrix, leading to better visual results.