JoinForm

JoinForm[type]

is a graphics directive that specifies what type of joins should be used to connect segments of lines, tubes, edges, and related primitives.

Details

  • The following types can be used in JoinForm[type]:
  • "Bevel"truncate the corner
    "Miter"extend the corner toward a point
    {"Miter",d}extend by at most d times the line width
    "Round"cover the corner with a disk
    Noneequivalent to "Bevel"
  • JoinForm works in both 2D and 3D.
  • In 2D, the default is JoinForm[{"Miter",3.25}]. In 3D, the default is JoinForm["Round"].
  • JoinForm[{"Miter",1/Sin[θ/2]}] gives sharp corners for any join angle larger than θ.
  • JoinForm can be used inside EdgeForm.

Examples

open allclose all

Basic Examples  (2)

A rounded line join:

A rounded tube join:

Scope  (3)

Specify joining of line segments:

Specify joining of tubes:

Use EdgeForm to control the joins of edge lines:

Neat Examples  (1)

Different line cap and join forms:

Wolfram Research (2008), JoinForm, Wolfram Language function, https://reference.wolfram.com/language/ref/JoinForm.html.

Text

Wolfram Research (2008), JoinForm, Wolfram Language function, https://reference.wolfram.com/language/ref/JoinForm.html.

CMS

Wolfram Language. 2008. "JoinForm." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/JoinForm.html.

APA

Wolfram Language. (2008). JoinForm. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/JoinForm.html

BibTeX

@misc{reference.wolfram_2024_joinform, author="Wolfram Research", title="{JoinForm}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/JoinForm.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_joinform, organization={Wolfram Research}, title={JoinForm}, year={2008}, url={https://reference.wolfram.com/language/ref/JoinForm.html}, note=[Accessed: 22-November-2024 ]}