API Reference > geometry-core > CartesianGeometry > Plane3dByOriginAndUnitNormal > createOriginAndTargetXY createOriginAndTargetXY MethodStatic create a new Plane3dByOriginAndUnitNormal with unit normal (a) in the xy plane (b) perpendicular to the line defined by xy parts of origin to target. origin and normal both have z = 0. The inputs are NOT captured. Returns undefined if the normal vector is all zeros. createOriginAndTargetXY(origin: Readonly<WritableXAndY>, target: Readonly<WritableXAndY>, result?: Plane3dByOriginAndUnitNormal): undefined | Plane3dByOriginAndUnitNormal Parameter Type Description origin Readonly<WritableXAndY> target Readonly<WritableXAndY> result Plane3dByOriginAndUnitNormal Returns - undefined | Plane3dByOriginAndUnitNormal Defined in geometry3d/Plane3dByOriginAndUnitNormal.ts Line 97 Last Updated: 11 June, 2024