loc_mirror
MDL FunctionComputes the coordinates locating a new point that is symmetric with respect to a reference marker about its specified plane.
Signature
loc_mirror(master_point, ref_marker, plane)
Input Arguments
- master_point
- Point to be reflected.
- ref_marker
- Marker that defines the reference reframe.
- plane
- String that defines the plane to which master_point is reflected.
Return Value
- point
- The point that satisfies the requirement.
Usage
# Compute the point whose cooridnates is (3,0,0)
ref_marker = Marker(qp=[-1,0,0], zp=[0,0,0])
point = loc_mirror(
master_point = Point(-5,0,0),
ref_marker = ref_marker,
plane = “xy”,
)