DiskSegment
✖
DiskSegment
represents the disk segment from angle θ1 to θ2 in a disk centered at {x,y} of radius r.
represents the ellipse segment from angle θ1 to θ2 in an axis-aligned ellipse with semiaxes lengths rx and ry.
Details and Options

- DiskSegment can be used as a geometric region and a graphics primitive.
- DiskSegment represents the filled segment part of Disk with the same arguments.
- Angles are measured in radians counterclockwise from the positive x direction.
- DiskSegment can be used in Graphics.
- In graphics, the point {x,y} can be Dynamic expressions.
- Graphics rendering is affected by directives such as FaceForm, EdgeForm, and color.

Examples
open allclose allBasic Examples (5)Summary of the most common use cases

https://wolfram.com/xid/0mlbmx4owowi-hyt4k


https://wolfram.com/xid/0mlbmx4owowi-bfjqp8

A segment of an elliptical disk:

https://wolfram.com/xid/0mlbmx4owowi-ji3kpm

Differently styled disk segments:

https://wolfram.com/xid/0mlbmx4owowi-kweje

Get the Area of a disk segment (half disk):

https://wolfram.com/xid/0mlbmx4owowi-98q61

The area of an ellipse segment:

https://wolfram.com/xid/0mlbmx4owowi-ib74kk

Scope (17)Survey of the scope of standard use cases
Graphics (7)
Specification (4)

https://wolfram.com/xid/0mlbmx4owowi-ha2yy


https://wolfram.com/xid/0mlbmx4owowi-grolsm


https://wolfram.com/xid/0mlbmx4owowi-cgrbk7


https://wolfram.com/xid/0mlbmx4owowi-d643pc


https://wolfram.com/xid/0mlbmx4owowi-fdnn39

Styling (2)
Color directives specify the face colors of disk segments:

https://wolfram.com/xid/0mlbmx4owowi-nnskqd

FaceForm and EdgeForm can be used to specify the styles of the interiors and boundaries:

https://wolfram.com/xid/0mlbmx4owowi-ju7459


https://wolfram.com/xid/0mlbmx4owowi-dkckj

Coordinates (1)
Regions (10)

https://wolfram.com/xid/0mlbmx4owowi-y220


https://wolfram.com/xid/0mlbmx4owowi-bx9tom


https://wolfram.com/xid/0mlbmx4owowi-ck0pr1

Get conditions for point membership:

https://wolfram.com/xid/0mlbmx4owowi-l724rh


https://wolfram.com/xid/0mlbmx4owowi-1kpb38

https://wolfram.com/xid/0mlbmx4owowi-b92dul


https://wolfram.com/xid/0mlbmx4owowi-dxlbau


https://wolfram.com/xid/0mlbmx4owowi-5fiohw


https://wolfram.com/xid/0mlbmx4owowi-efuwvi

https://wolfram.com/xid/0mlbmx4owowi-bjikjq


https://wolfram.com/xid/0mlbmx4owowi-cybvpc

https://wolfram.com/xid/0mlbmx4owowi-bm4ed


https://wolfram.com/xid/0mlbmx4owowi-btejnv

https://wolfram.com/xid/0mlbmx4owowi-et4yza


https://wolfram.com/xid/0mlbmx4owowi-eoyt0e

https://wolfram.com/xid/0mlbmx4owowi-fq1ssz

An ellipse segment is bounded:

https://wolfram.com/xid/0mlbmx4owowi-gqhe1k

https://wolfram.com/xid/0mlbmx4owowi-b5d6xy


https://wolfram.com/xid/0mlbmx4owowi-vq86d4


https://wolfram.com/xid/0mlbmx4owowi-jl5g5a

Integrate over an ellipse segment:

https://wolfram.com/xid/0mlbmx4owowi-fivgav

https://wolfram.com/xid/0mlbmx4owowi-banwkr

Optimize over an ellipse segment:

https://wolfram.com/xid/0mlbmx4owowi-rk57l2

https://wolfram.com/xid/0mlbmx4owowi-hyz4dq

Solve equations in an ellipse segment:

https://wolfram.com/xid/0mlbmx4owowi-bnrw6

https://wolfram.com/xid/0mlbmx4owowi-c7lkth


https://wolfram.com/xid/0mlbmx4owowi-jacwaq

Applications (5)Sample problems that can be solved with this function
Plot a function over a disk segment:

https://wolfram.com/xid/0mlbmx4owowi-ubcdr9

Create a 3D disk segment extrusion with RegionProduct:

https://wolfram.com/xid/0mlbmx4owowi-xqbmll

https://wolfram.com/xid/0mlbmx4owowi-efqqx9

To show the region difference between a disk and a regular polygon, a set of disk segments may be used. First you get a set of arcs:

https://wolfram.com/xid/0mlbmx4owowi-kgkpgd

However, some of arcs are not increasing angle ranges, so in those cases is added to the second angle to make it increasing:

https://wolfram.com/xid/0mlbmx4owowi-f5my01


https://wolfram.com/xid/0mlbmx4owowi-c9rejn

A lens can be modeled as two adjacent disk segments. Create a rightward-facing lens segment of height and radius of
, centered on the origin:

https://wolfram.com/xid/0mlbmx4owowi-frm94l

https://wolfram.com/xid/0mlbmx4owowi-h3i2y1

For the leftward-facing part of the lens, you need to switch the position and switch the direction of the arc:

https://wolfram.com/xid/0mlbmx4owowi-b1w9z

https://wolfram.com/xid/0mlbmx4owowi-cf69o1

Now make a function that will construct a pair of disk segments for given height and radii, and visualize it for a range of radius values:

https://wolfram.com/xid/0mlbmx4owowi-bga70i

https://wolfram.com/xid/0mlbmx4owowi-zr47v

You can find an approximate measure of a region by finding the fraction of random points within a region of known volume that fall within the region whose measure you seek. Use a disk segment as an example:

https://wolfram.com/xid/0mlbmx4owowi-dszu2i
This region can be contained within the region and
, which has an area of 16. Generate a list of random points within this general region:

https://wolfram.com/xid/0mlbmx4owowi-xugmz
Find the percent of these random points that fall within the disk segment:

https://wolfram.com/xid/0mlbmx4owowi-cfu87x

The area of the region (the disk segment) should be close to that ratio times the area over which the random points are distributed. Compare this approximation to the actual value:

https://wolfram.com/xid/0mlbmx4owowi-ckvka1


https://wolfram.com/xid/0mlbmx4owowi-zyquu

Properties & Relations (4)Properties of the function, and connections to other functions
DiskSegment can be represented by a FilledCurve:

https://wolfram.com/xid/0mlbmx4owowi-fg0xy9

https://wolfram.com/xid/0mlbmx4owowi-m8qtk2

https://wolfram.com/xid/0mlbmx4owowi-f32m64

A disk segment may result from the RegionIntersection of a Disk and another region:

https://wolfram.com/xid/0mlbmx4owowi-fex658

https://wolfram.com/xid/0mlbmx4owowi-w76vsx


https://wolfram.com/xid/0mlbmx4owowi-vx78oy

ImplicitRegion can represent any DiskSegment:

https://wolfram.com/xid/0mlbmx4owowi-dxgz06

https://wolfram.com/xid/0mlbmx4owowi-i1r2cs

https://wolfram.com/xid/0mlbmx4owowi-b56hh2

ParametricRegion can represent a DiskSegment:

https://wolfram.com/xid/0mlbmx4owowi-6nmxzs

https://wolfram.com/xid/0mlbmx4owowi-zgzu65

https://wolfram.com/xid/0mlbmx4owowi-80tx6x


https://wolfram.com/xid/0mlbmx4owowi-ntipsv

Neat Examples (3)Surprising or curious use cases
Wolfram Research (2015), DiskSegment, Wolfram Language function, https://reference.wolfram.com/language/ref/DiskSegment.html.
Text
Wolfram Research (2015), DiskSegment, Wolfram Language function, https://reference.wolfram.com/language/ref/DiskSegment.html.
Wolfram Research (2015), DiskSegment, Wolfram Language function, https://reference.wolfram.com/language/ref/DiskSegment.html.
CMS
Wolfram Language. 2015. "DiskSegment." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DiskSegment.html.
Wolfram Language. 2015. "DiskSegment." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DiskSegment.html.
APA
Wolfram Language. (2015). DiskSegment. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DiskSegment.html
Wolfram Language. (2015). DiskSegment. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DiskSegment.html
BibTeX
@misc{reference.wolfram_2025_disksegment, author="Wolfram Research", title="{DiskSegment}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/DiskSegment.html}", note=[Accessed: 29-April-2025
]}
BibLaTeX
@online{reference.wolfram_2025_disksegment, organization={Wolfram Research}, title={DiskSegment}, year={2015}, url={https://reference.wolfram.com/language/ref/DiskSegment.html}, note=[Accessed: 29-April-2025
]}