Get[FileNameJoin[{NotebookDirectory[],"Packages","ConformalAlgebra1D.wl"}]]

Objects

p:=px e[3,1]-py e[2,3]

q:=qx e[3,1]-qy e[2,3]

a:=ax e[1]+ay e[2]+az e[3]

b:=bx e[1]+by e[2]+bz e[3]

d:=dz e[1,2]+dx e[2,3]+dy e[3,1]

f:=fz e[1,2]+fx e[2,3]+fy e[3,1]

Join and Meet

Join of two points

a∧b//BasisForm

Meet of two dipoles

d∨f//BasisForm

Meet of dipole and flat point

d∨p//BasisForm

Expansion

Expand round point onto dipole

a∧Antidual[d]//BasisForm

Manipulate[With[{pnt=RoundPoint[0,1,0.5],dip=RoundDipole[r,x]},
Show[DrawDipole[dip],DrawRoundPoint[pnt],DrawDipole[Dual[dip]∧pnt],PlotRange->{{-2,8},{-3,3}}]],
{{x,4},-2,5},{{r,1},0,6}]

Expand round point onto flat point

a∧Antidual[p]//BasisForm

License

MIT License

Copyright (c) 2025 Eric Lengyel

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.