Mirror2D, Mirror3D
Create 2D and 3D mirror datasets.
Syntax
model.result().dataset().create(<dtag>,"Mirror2D");
model.result().dataset().create(<dtag>,"Mirror3D");
model.result().dataset(<dtag>).set(property, <value>);
Description
model.result().dataset().create(<dtag>,"Mirror2D") creates a 2D mirror dataset feature named <dtag>.
model.result().dataset().create(<dtag>,"Mirror3D") creates a 3D mirror dataset feature named <dtag>.
This dataset takes data from another dataset and adds a mirror copy with respect to an axis or plane of reflection (for 2D and 3D, respectively).
The following properties are available for Mirror2D and Mirror3D:
none | dataset name
Active when method equals twopoint, this property contains the coordinates of the two points in the two rows of the matrix.
twopoint | pointdir
Active when method equals pointdir, this property contains the direction.
Active when method equals pointdir, this property contains the coordinates of the point.
symmetric | antisymmetric
The following properties are available for Mirror 3D:
none | dataset name
threepoint | pointnormal
Active when planetype equals general, this property indicates whether the plane should be specified by three points or through one point and a normal.
Active when method equals threepoint, this property contains the coordinates of the three points in the rows of the matrix.
Active when genmethod equals pointnormal, this property contains the coordinates of the point.
Active when genmethod equals pointnormal, this property contains the normal vector.
quick | general
xy | yz | zx
If hasvar is true: The name of the positive side variable, which is 1 on the side where the original data resides and 0 on the other side.
If hasvar is true: The names of space variables, which evaluate to the coordinates after the transformation performed by the mirror dataset.