OffsetSurfaceCylinder::usage="An Offset surface, is a smooth surface (without edges, peaks, or singular points, where each point has a tangent plane. Examples: Spheres, ellipsoids, toroids, cylinders and planes), it is defined as follows: [u, v] = σ[u, v] ± d n[u, v] σ[u, v] it is a smooth surface, d = distance, n[u, v] it is the normal unitary vector to the surface σ[u, v]. In this notebook we will obtain the offset surface of the plane: {-2, 4, 5} + u{4, -4, -6} + v{5, 3, -5} with d = 3. References: Peternell, M. et al. Offsets, Conchoids and Pedal Surfaces; Personal. ";
σ
d
Development:
In[]:=
σ[u_,v_]:={-2,4,5}+u{4,-4,-6}+v{5,3,-5};[u_,v_]=D[σ[u,v],u];[u_,v_]=D[σ[u,v],v];d=3;n[u_,v_]:=[u,v][u,v];σ[u,v]+dn[u,v]//FullSimplifyσ[u,v]-dn[u,v]//FullSimplify
σ
u
σ
v
σ
u
σ
v
Norm[[u,v][u,v]]
σ
u
σ
v
-2+19+4u+5v,4-5-4u+3v,5+8-6u-5v;
3
214
3
214
6
107
-2-19+4u+5v,4+5-4u+3v,5-8-6u-5v;
3
214
3
214
6
107
Animation:
In[]:=
SwatchLegend[{Orange,Blue,Yellow},{"Positive Offset surface","Negative Offset surface","Base surface"}]Manipulateσ[u_,v_]:={-2,4,5}+u{4,-4,-6}+v{5,3,-5};[u_,v_]:=-2+19+4u+5v,4-5-4u+3v,5+8-6u-5v;[u_,v_]:=-2-19+4u+5v,4+5-4u+3v,5-8-6u-5v;Show[ParametricPlot3D[σ[u,v],{u,-5,5},{v,-5,5},PerformanceGoal"Quality",MeshStyleDirective[AbsoluteThickness[0.5],Opacity[0.2]],PlotStyle{Opacity[0.8],Yellow},Mesh->False,PlotPoints60],ParametricPlot3D[[u,v],{u,-5,k1},{v,-5,5},PerformanceGoal"Quality",MeshStyleDirective[AbsoluteThickness[0.5],Opacity[0.4]],PlotStyle{Opacity[0.8],Orange},PlotPoints60],ParametricPlot3D[[u,v],{u,-5,k1},{v,-5,5},PerformanceGoal"Quality",MeshStyleDirective[AbsoluteThickness[0.5],Opacity[0.8]],PlotStyle{Opacity[0.4],Blue},PlotPoints60],AxesLabel->(Style[#,15,Blue]&/@{"X","Y","Z"}),AxesOrigin{0,0,0},AxesTrue,BoxedFalse,ViewPoint{1.3,-2.4,-1},PlotLabelStyle[Framed["Offset surfaces"],16,Blue,BackgroundYellow],PlotRange{{-8,8},{-8,8},{-7,9}},ImageSize700],{k1,-5+0.00001,5,0.00001},SaveDefinitionsTrue,ControlPlacementTop
σ
dp
3
214
3
214
6
107
σ
dn
3
214
3
214
6
107
σ
dp
σ
dn
Out[]=
Out[]=
Explanation :
In[]:=
Eliminate[{x==-2+4u+5v,y==4-4u+3v,z==5-6u-5v},{u,v}]
22+5y-16z19x;19x-5y+16z-22==0;
Cutting the surface:
19x-5y+16z-22==0;
with the plane y = 0, results:
t,0,-t;
11
8
19
16
In[]:=
SwatchLegend[{Orange,Blue,DarkYellow,Black},{"Positive Offset","Negative Offset","Original function","Generatrix line"}]Manipulateζ[t_]:=t,0,-t;d=3;N1=1,0,;[t_]:=ζ[t]+dN1;[t_]:=ζ[t]-dN1;Show[{ParametricPlot3D[[t],{t,-5,t1},PlotStyle{Orange,Thick},PerformanceGoal->"Quality",PlotPoints60],ParametricPlot3D[[t],{t,-5,t1},PlotStyle{Blue,Thick},PerformanceGoal->"Quality",PlotPoints60],ParametricPlot3D[ζ[t],{t,-5,5},PlotStyle{DarkYellow,Thick}],Graphics3D[{Orange,Ball[[t1],0.2]}],Graphics3D[{Blue,Ball[[t1],0.2]}],Graphics3D[{Black,Thick,Line[{[t1],ζ[t1],[t1]}]}],Graphics3D[{DarkYellow,Ball[ζ[t1],0.2]}]},AxesTrue,AxesLabel->(Style[#,15,Blue]&/@{"X","Y","Z"}),BoxedFalse,AxesOrigin{0,0,0},BoxRatiosAutomatic,ImageSize700,PlotRange{{-8,8},{-8,8},{-7,9}},ViewPoint{1.3,-2.4,-1},PlotLabelStyle[Framed["Offset curves"],16,Blue,BackgroundYellow]],{{t1,-5+0.00002,"Value (t1)"},-5+0.00001,5-0.00001,0.00001},ControlPlacement->Top
11
8
19
16
16
19
ζ
+
ζ
-
ζ
+
ζ
-
ζ
+
ζ
-
ζ
-
ζ
+
Out[]=
Out[]=

