A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://reference.wolfram.com/language/ref/Line.html below:

Represent a segment joining specified points—Wolfram Documentation

WOLFRAM Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technology expertise.

WolframConsulting.com

BUILT-IN SYMBOL

Line[{p1,p2,}]

represents the line segments joining a sequence for points pi.

Line[{{p11,p12,},{p21,},}]

represents a collection of lines.

Details and Options Background & Context Examplesopen allclose all Basic Examples  (4)

A line primitive:

Differently styled 2D lines:

Differently styled 3D lines:

Compute the ArcLength of a line:

Centroid:

Scope  (24) Graphics  (14) Specification  (3)

Single line segment:

Multiple connected line segments:

Multiple disconnected line segments:

Styling  (8)

Lines with different thicknesses:

Thickness in scaled size:

Thickness in printer's points:

Dashed lines:

Colored lines:

Line caps can be specified using CapForm:

Joining of line segments can be specified using JoinForm:

Colors can be specified at vertices using VertexColors:

Normals can be specified at vertices using VertexNormals for 3D lines:

Regions  (10)

Embedding dimension is the dimension of the space in which the line lives:

Geometric dimension:

Point membership test:

Get conditions for point membership:

Length:

Centroid:

Distance to a line:

Visualize it:

Signed distance from a line segment:

Signed distance to a line segment:

Nearest point in the region:

Nearest points:

A line segment is bounded:

Get its range:

Integrate over a polygonal curve:

Optimize over a polygonal curve:

Solve equations in a polygonal curve:

Options  (3) VertexColors  (2)

Line with vertex colors:

Specify vertex colors for 3D lines:

VertexNormals  (1)

Specify vertex normals for 3D lines:

Applications  (6)

Complete graph with 11 nodes:

The tangent bundle for a quadratic curve:

A vector field:

2D random walk on a regular lattice:

3D random walk on a regular lattice:

Replace Polygon with Line to have special rendering effects:

Use a random collection of light sources:

Use lines to estimate the length of a curve:

Increase the number of line segments for a better estimate:

Properties & Relations  (4)

Several visualization functions produce Line objects:

Use directive styles appropriate for lines:

You can also transform the output:

The same idea applies in 3D:

This shows the points at which it was sampled:

ImplicitRegion can be used to represent any Line region:

ParametricRegion can be used to represent any Line region:

Possible Issues  (1)

Line objects need to be specified using numbers that can be represented by machine numbers:

Neat Examples  (4)

A random collection of lines:

Lines with lighting:

Moiré pattern:

Tangent vectors along an elliptic curve:

History

Introduced in 1988 (1.0) | Updated in 1996 (3.0) 2014 (10.0)

Wolfram Research (1988), Line, Wolfram Language function, https://reference.wolfram.com/language/ref/Line.html (updated 2014). Text

Wolfram Research (1988), Line, Wolfram Language function, https://reference.wolfram.com/language/ref/Line.html (updated 2014).

CMS

Wolfram Language. 1988. "Line." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/Line.html.

APA

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

BibTeX

@misc{reference.wolfram_2025_line, author="Wolfram Research", title="{Line}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/Line.html}", note=[Accessed: 12-July-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_line, organization={Wolfram Research}, title={Line}, year={2014}, url={https://reference.wolfram.com/language/ref/Line.html}, note=[Accessed: 12-July-2025 ]}


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4