XML弧

This is a non-composite and composite builder that constructs a circular arc geometry. Currently the following arc definitions are supported:

  1. 由3个重合控制点定义的圆弧。
  2. 由一个圆的圆心限定的圆弧,开始和结束点和方向。
  3. 由开始和结束点,半径和方向限定的圆弧。

构建器类型:non-composite/composite, accepts point geometries in composite mode

几何构造: arc geometry

data parameters:

Data Name

Value

Required/
可选的

数据串

  1. For an arc defined by 3 coincident control points, the coordinate data denotes the coincident points in the order of arc traversal.

The coordinate data may be received as point geometries, the order of the point geometries are assumed to be the order of arc traversal.

  1. 的坐标数据串表示的中心,开始和电弧的终点时,“方向”的数据参数存在。

的坐标数据可以被接收作为点的几何形状。这些控制点也许有名或无名的。命名点的几何形状以任意顺序,有名称必须是“中心”之一,“开始”或“结束”,或任何其等同物,见下文也许好评。如果点的几何形状是无名的,那么点的顺序是显著,收到的第一点被假定为中心点,下一个点为起点,最后一个点为圆弧的终点。

  1. 的坐标数据串表示的圆弧的起始点和结束点时,“方向”和“半径”数据参数存在

的坐标数据可以被接收作为点的几何形状。这些控制点也许有名或无名的。The named point geometries maybe received in any order, there names must be one of “start” or “end”, or any of their equivalents, see below. If the point geometries are unnamed, then the order of the points is significant, the first point received is assumed as the start point, the next point as the end point of the arc.

Equivalent control point names: The following names may be substituted for “center”, “start” and “end”:

  • 中心:坊
  • start: FromPoint
  • 结束:尖山

Range: String

可选的if the control points are to be passed in as point geometries; otherwise Required

direction

指定从开始到弧的终点遍历方向。

Range: cw | ccw

Default: There are no default values.

Required if the data-string is to specify the center, start and end points of an arc

半径

的圆弧的半径。

范围:正实数。

Default: There are no default values.

Required, along with the direction, if the data-string specifies the start and end point of an arc.

axis-order

Indicates the axis for a coordinate.

Range: A permutation of the numbers 1..N, where N is the number of dimensions.

每个数由逗号分隔“”。

Default: “1,2,...,N”

可选的

dimension

The dimension of the coordinates.

Range: String representing a positive integer, or the “implicit” literal, which forces the dimension to be automatically determined even if axis-order is specified.

Default: When not specified the dimension will be automatically determined.

可选的

轴分离器

The string separating each axis of a coordinate in the data-string.

范围:字符串|“空白”,这包括的标签,换行,和空格字符。

Default: “,”

可选的

坐标分离器

The string separating each coordinate in the data-string.

Range: String

默认值:“空格”这包括制表符,换行符和空格字符。

可选的

十进制

表示在数据串的每个实数小数点的字符串。

Range: String

Default: “.”

可选的

坐标系

指定坐标系名称。如果坐标系统的计算结果为空字符串表达式序列,然后将坐标系统功能正在兴建将不会设置。

Range: String

可选的

number-of-arcs

数据参数是可选的,当电弧被重合于它的控制点定义仅适用。如果给定的值大于1,则在该数据串的坐标数必须是(2 *数的弧1)中,每个连续的圆弧构成共享公共控制点,并从这些连续返回的几何电弧不能是圆弧了,取而代之的是,返回路径几何。

范围:正数

Default: 1

可选的

降级不完全几何

此可选数据参数允许时没有给出数据串时,或者当数据串的值是空字符串的XML弧几何构建器返回一个非几何对象。

范围:假|真正

Default: false

可选的

incomplete-geometry-traits

这个可选的数据参数,只有当降级,不完整的几何数据参数设置为true的效果。此参数列出了应加载到降级的圆弧形状为性状XML弧数据参数。例如,当该几何形状构建器不能构建一个圆弧和降级不完全几何形状被设置为真,并且被设置为“半径方向”此参数的值,则构建器将构建具有半径和方向性状的空的几何形状。

Range: whitespace separated list of arc data parameter names

Default: There are no default values.

可选的

名称

指定几何体的名称。

Range: String

可选的

collinear-points-as-line

这个可选的数据参数生效只有当n an arc is being constructed from three control points. If the value of this parameter is ‘true’ and the three control points are collinear, the geometry builder will produce a line rather than an arc.

范围:假|真正

Default: false

可选的