Wolfram Language & System 10.4 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

DiskSegment

DiskSegment[{x,y},r,{θ1,θ2}]
represents the disk segment from angle to in a disk centered at of radius r.

DiskSegment[{x,y},{rx,ry},{θ1,θ2}]
represents the ellipse segment from angle to in an axis-aligned ellipse with semiaxes lengths and .

DetailsDetails

  • 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 can be Dynamic expressions.
  • Graphics rendering is affected by directives such as FaceForm, EdgeForm, and color.

ExamplesExamplesopen allclose all

Basic Examples  (5)Basic Examples  (5)

Half of a unit disk:

In[1]:=
Click for copyable input
Out[1]=

A disk segment:

In[1]:=
Click for copyable input
Out[1]=

A segment of an elliptical disk:

In[1]:=
Click for copyable input
Out[1]=

Differently styled disk segments:

In[1]:=
Click for copyable input
Out[1]=

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

In[1]:=
Click for copyable input
Out[1]=

The area of an ellipse segment:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 2015
(10.2)