Skip to main content
added 4 characters in body
Source Link
Mr.Wizard
  • 273.1k
  • 34
  • 595
  • 1.4k

Just in case using a single Graphics3D may be of interest:

  Graphics3D[{
  PointSize[.01], Red, Point /@ threedPts, 
  Blue, Thickness[.003], Line@(Insert[#, -1, -1] & /@ twodPts), 
  GraphicsComplex[pts, {EdgeForm[], FaceForm[{Pink, Opacity[0.4]}], Polygon[surface]}], 
  ImageSize -> {200, 200} 
}]

gives

enter image description here

Just in case using a single Graphics3D may be of interest:

  Graphics3D[{
  PointSize[.01], Red, Point /@ threedPts, 
  Blue, Thickness[.003], Line@(Insert[#, -1, -1] & /@ twodPts), 
  GraphicsComplex[pts, {EdgeForm[], FaceForm[{Pink, Opacity[0.4]}], Polygon[surface]}], 
  ImageSize -> {200, 200}}]

gives

enter image description here

Just in case using a single Graphics3D may be of interest:

Graphics3D[{
  PointSize[.01], Red, Point /@ threedPts, 
  Blue, Thickness[.003], Line@(Insert[#, -1, -1] & /@ twodPts), 
  GraphicsComplex[pts, {EdgeForm[], FaceForm[{Pink, Opacity[0.4]}], Polygon[surface]}], 
  ImageSize -> {200, 200} 
}]

gives

enter image description here

Post Undeleted by kglr
deleted 41 characters in body
Source Link
kglr
  • 400.5k
  • 18
  • 488
  • 929

Just in case using a single Graphics3D may be of interest:

  surfacePlot = Graphics3D[{
  Graphics3D[{PointSize[.02]01], Red, Point /@ threedPts, 
  Blue, ThickThickness[.003], Line@(Insert[#, -1, -1] & /@ twodPts), 
  GraphicsComplex[pts, {EdgeForm[], FaceForm[{Pink, Opacity[0.3]4]}], 
  GraphicsComplex[ptsPolygon[surface]}], Polygon[surface]],
  ImageSize -> {200, 200}}, 
  BoxRatios -> 1, Axes -> False]]

gives

enter image description hereenter image description here

Just in case using a single Graphics3D may be of interest:

  surfacePlot = 
  Graphics3D[{PointSize[.02], Red, Point /@ threedPts, 
  Blue, Thick, Line@(Insert[#, -1, -1] & /@ twodPts), 
  EdgeForm[], FaceForm[{Pink, Opacity[0.3]}], 
  GraphicsComplex[pts, Polygon[surface]], ImageSize -> {200, 200}}, 
  BoxRatios -> 1, Axes -> False]

gives

enter image description here

Just in case using a single Graphics3D may be of interest:

  Graphics3D[{
  PointSize[.01], Red, Point /@ threedPts, 
  Blue, Thickness[.003], Line@(Insert[#, -1, -1] & /@ twodPts), 
  GraphicsComplex[pts, {EdgeForm[], FaceForm[{Pink, Opacity[0.4]}], Polygon[surface]}], 
  ImageSize -> {200, 200}}]

gives

enter image description here

added 9 characters in body
Source Link
kglr
  • 400.5k
  • 18
  • 488
  • 929

Using onlyJust in case using a single Graphics3D may be of interest:

  surfacePointLinePlotsurfacePlot = 
  Graphics3D[{EdgeForm[], Opacity[0.3], 
  GraphicsComplex[pts, Polygon[surface]], PointSize[.02], Red, 
  Point /@ threedPts, 
  Blue, Thick, 
  Line@(Insert[#, -1, -1] & /@ twodPts), 
  EdgeForm[], FaceForm[{Pink, Opacity[0.3]}], 
  GraphicsComplex[pts, Polygon[surface]], ImageSize -> {200, 200}}, 
  BoxRatios -> 1, Axes -> False]

gives

enter image description hereenter image description here

Using only Graphics3D:

  surfacePointLinePlot = 
  Graphics3D[{EdgeForm[], Opacity[0.3], 
  GraphicsComplex[pts, Polygon[surface]], PointSize[.02], Red, 
  Point /@ threedPts, Blue, Thick, 
  Line@(Insert[#, -1, -1] & /@ twodPts), ImageSize -> {200, 200}}, 
  BoxRatios -> 1, Axes -> False]

gives

enter image description here

Just in case using a single Graphics3D may be of interest:

  surfacePlot = 
  Graphics3D[{PointSize[.02], Red, Point /@ threedPts, 
  Blue, Thick, Line@(Insert[#, -1, -1] & /@ twodPts), 
  EdgeForm[], FaceForm[{Pink, Opacity[0.3]}], 
  GraphicsComplex[pts, Polygon[surface]], ImageSize -> {200, 200}}, 
  BoxRatios -> 1, Axes -> False]

gives

enter image description here

Post Deleted by kglr
Source Link
kglr
  • 400.5k
  • 18
  • 488
  • 929
Loading