Skip to content

Commit

Permalink
VcRectangle
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghuang-liu committed Sep 21, 2022
1 parent dc1bc8a commit 9142468
Show file tree
Hide file tree
Showing 23 changed files with 40 additions and 40 deletions.
4 changes: 2 additions & 2 deletions website/docs/en-US/geometries/vc-geometry-ellipsoid.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ The basic usage of VcGeometryEllipsoid component.
<!-- prettier-ignore -->
| Name | Type | Default | Description |
| --------------- | ------------- | ------ | ----------------------------------------------------------- |
| radii | Object\|Array | | `optional` The radii of the ellipsoid in the x, y, and z directions. |
| radii | VcPosition\|Array | | `optional` The radii of the ellipsoid in the x, y, and z directions. |
| innerRadii | number | | `optional` The inner radii of the ellipsoid in the x, y, and z directions.|
| minimumClock | number | `0.0` | `optional` The minimum angle lying in the xy-plane measured from the positive x-axis and toward the positive y-axis. |
| maximumClock | number | `2*PI` | `optional` The maximum angle lying in the xy-plane measured from the positive x-axis and toward the positive y-axis. |
Expand Down Expand Up @@ -160,7 +160,7 @@ Loading a ellipsoid geometry outline. It is equivalent to initializing a `Cesium
<!-- prettier-ignore -->
| Name | Type | Default | Description |
| --------------- | ------------- | ------- | ----------------------------------------------------------- |
| radii | Object\|Array | | `optional` The radii of the ellipsoid in the x, y, and z directions. |
| radii | VcPosition\|Array | | `optional` The radii of the ellipsoid in the x, y, and z directions. |
| innerRadii | number | | `optional` The inner radii of the ellipsoid in the x, y, and z directions.|
| minimumClock | number | `0.0` | `optional` The minimum angle lying in the xy-plane measured from the positive x-axis and toward the positive y-axis. |
| maximumClock | number | `2*PI` | `optional` The maximum angle lying in the xy-plane measured from the positive x-axis and toward the positive y-axis. |
Expand Down
8 changes: 4 additions & 4 deletions website/docs/en-US/geometries/vc-geometry-frustum.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ Basic usage of the VcGeometryFrustum component.
| Name | Type | Default | Description |
| ------------ | ------------- | ------- | ------------------------------------------------ |
| frustum | Cesium.PerspectiveFrustum \| Cesium.OrthographicFrustum | | `optional` The frustum. |
| origin | Object\|Array | | `optional` The origin of the frustum. |
| orientation | Object\|Array | | `optional` The orientation of the frustum. |
| origin | VcPosition\|Array | | `optional` The origin of the frustum. |
| orientation | Cesium.Quaternion\|Array | | `optional` The orientation of the frustum. |
| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. |

### Events
Expand All @@ -158,8 +158,8 @@ Loading a frustum geometry outline. It is equivalent to initializing a `Cesium.F
| Name | Type | Default | Description |
| ----------- | ------------- | ------- | ------------------------------------------ |
| frustum | Cesium.PerspectiveFrustum \| Cesium.OrthographicFrustum | | `optional` The frustum. |
| origin | Object\|Array | | `optional` The origin of the frustum. |
| orientation | Object\|Array | | `optional` The orientation of the frustum. |
| origin | VcPosition\|Array | | `optional` The origin of the frustum. |
| orientation | Cesium.Quaternion\|Array | | `optional` The orientation of the frustum. |

### VcGeometryFrustumOutline Events

Expand Down
4 changes: 2 additions & 2 deletions website/docs/en-US/geometries/vc-geometry-polygon-coplanar.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Basic usage of VcGeometryPolygonCoplanar component.

| Name | Type | Default | Description |
| ---------------- | -------------- | ------- | --------------------------------------------------------------------------------------------------------- |
| polygonHierarchy | Object\|Array | | `required` A polygon hierarchy that can include holes. |
| polygonHierarchy | VcPolygonHierarchy\|Array | | `required` A polygon hierarchy that can include holes. |
| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. |
| stRotation | number\|Object | `0.0` | `optional` The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise. |
| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid to be used as a reference. |
Expand All @@ -143,7 +143,7 @@ Loading a coplanar polygon geometry outline. It is equivalent to initializing a

| Name | Type | Default | Description |
| ---------------- | ------------- | ------- | ------------------------------------------------------ |
| polygonHierarchy | Object\|Array | | `optional` A polygon hierarchy that can include holes. |
| polygonHierarchy | VcPolygonHierarchy\|Array | | `optional` A polygon hierarchy that can include holes. |

### VcGeometryPolygonCoplanarOutline Events

Expand Down
4 changes: 2 additions & 2 deletions website/docs/en-US/geometries/vc-geometry-polygon.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Basic usage of VcGeometryPolygon component.
<!-- prettier-ignore -->
| Name | Type | Default | Description | Accepted Values |
| ----------------- | ------------- | ------- | -------------------------------------------------------------------- | --------------- |
| polygonHierarchy | Object\|Array | | `required` A polygon hierarchy that can include holes. |
| polygonHierarchy | VcPolygonHierarchy\|Array | | `required` A polygon hierarchy that can include holes. |
| height | number | `0` | `optional` The distance in meters between the polygon and the ellipsoid surface. |
| extrudedHeight | number | | `optional` The distance in meters between the polygon's extruded face and the ellipsoid surface. |
| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. |
Expand Down Expand Up @@ -178,7 +178,7 @@ Loading a polygon geometry outline. It is equivalent to initializing a `Cesium.P
<!-- prettier-ignore -->
| Name | Type | Default | Description | Accepted Values |
| ---- | ---- | ------- | ----------- | --------------- |
| polygonHierarchy | Object\|Array | | `required` A polygon hierarchy that can include holes. |
| polygonHierarchy | VcPolygonHierarchy\|Array | | `required` A polygon hierarchy that can include holes. |
| height | number | `0` | `optional` The distance in meters between the polygon and the ellipsoid surface. |
| extrudedHeight | number | | `optional` The distance in meters between the polygon's extruded face and the ellipsoid surface. |
| vertexFormat | Cesium.VertexFormat | | `optional` The vertex attributes to be computed. |
Expand Down
4 changes: 2 additions & 2 deletions website/docs/en-US/geometries/vc-geometry-rectangle.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Basic usage of VcGeometryRectangle component.
<!-- prettier-ignore -->
| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
| rectangle | Object\|Array | | `required` A cartographic rectangle with north, south, east and west properties. |
| rectangle | VcRectangle\|Array | | `required` A cartographic rectangle with north, south, east and west properties. |
| vertexFormat | number | | `optional` The vertex attributes to be computed. |
| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid on which the rectangle lies. |
| granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. |
Expand Down Expand Up @@ -144,7 +144,7 @@ Loading a rectangle geometry outline. It is equivalent to initializing a `Cesium
<!-- prettier-ignore -->
| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
| rectangle | Object\|Array | | `required` A cartographic rectangle with north, south, east and west properties. |
| rectangle | VcRectangle\|Array | | `required` A cartographic rectangle with north, south, east and west properties. |
| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid on which the rectangle lies. |
| granularity | number | | `optional` The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. |
| height | number | `0` | `optional` The distance in meters between the rectangle and the ellipsoid surface. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/graphics/vc-graphics-ellipsoid.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Basic usage of the VcGraphicsEllipsoid component.
| Name | Type | Default | Description | Accepted Values |
| ---- | ---- | ------- | ----------- | --------------- |
| show | boolean | `true` | `optional` A boolean Property specifying the visibility of the ellipsoid. |
| radii | Object | | `optional` A Cartesian3 Property specifying the radii of the ellipsoid. |
| radii | VcPosition | | `optional` A Cartesian3 Property specifying the radii of the ellipsoid. |
| heightReference | number | | `optional` A Property specifying what the height from the entity position is relative to. **NONE: 0, CLAMP_TO_GROUND: 1, RELATIVE_TO_GROUND: 2** |0/1/2|
| fill | boolean | `true` | `optional` A boolean Property specifying whether the ellipsoid is filled with the provided material. |
| material | Object\|string\|Array | `'WHITE'` | `optional` A Property specifying the material used to fill the ellipsoid. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/graphics/vc-graphics-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Basic usage of the VcGraphicsModel component.
| imageBasedLightingFactor | Object\|Array | `{x: 1.0, y: 1.0}` | `optional` A property specifying the contribution from diffuse and specular image-based lighting. |
| lightColor | Object\|string\|Array | | `optional` A property specifying the light color to use when shading the model. The default sun light color will be used when undefined. |
| distanceDisplayCondition | VcDistanceDisplayCondition\|Array | | `optional` A NearFarScalar Property used to set pixelOffset based on distance from the camera.A Property specifying at what distance from the camera that this model will be displayed. |
| nodeTransformations | Object | | `optional` An object, where keys are names of nodes, and values are TranslationRotationScale Properties describing the transformation to apply to that node. The transformation is applied after the node's existing transformation as specified in the glTF, and does not replace the node's existing transformation. |
| nodeTransformations | Cesium.TranslationRotationScale | | `optional` An object, where keys are names of nodes, and values are TranslationRotationScale Properties describing the transformation to apply to that node. The transformation is applied after the node's existing transformation as specified in the glTF, and does not replace the node's existing transformation. |
| articulations | Object | | `optional` An object, where keys are composed of an articulation name, a single space, and a stage name, and the values are numeric properties. |
| clippingPlanes | Object | | `optional` A property specifying the ClippingPlaneCollection used to selectively disable rendering the model. |

Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/providers/vc-imagery-provider-tms.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Basic usage of the `vc-imagery-provider-tms` component.
| fileExtension | string | `'png'` | `optional` The file extension for images on the server. |
| credit | string\|Object | `''` | `optional` A credit for the data source, which is displayed on the canvas. |
| minimumLevel | number | `0` | `optional` The minimum level-of-detail supported by the imagery provider. Take care when specifying this that the number of tiles at the minimum level is small, such as four or less. A larger number is likely to result in rendering problems. |
| rectangle | Object\|Array | | `optional` The maximum level-of-detail supported by the imagery provider, or undefined if there is no limit. |
| rectangle | VcRectangle\|Array | | `optional` The maximum level-of-detail supported by the imagery provider, or undefined if there is no limit. |
| maximumLevel | number | | `optional` The rectangle, in radians, covered by the image. |
| tilingScheme | Object | | `optional` The tiling scheme specifying how the ellipsoidal surface is broken into tiles. If this parameter is not provided, a WebMercatorTilingScheme is used. |
| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid. If the tilingScheme is specified, this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither parameter is specified, the WGS84 ellipsoid is used. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/providers/vc-imagery-provider-wms.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Basic usage of the `vc-imagery-provider-wms` component.
| getFeatureInfoParameters | Object | | `optional` Additional parameters to pass to the WMS server in the GetFeatureInfo URL. |
| enablePickFeatures | boolean | `true` | `optional` If true, WebMapServiceImageryProvider#pickFeatures will invoke the GetFeatureInfo operation on the WMS server and return the features included in the response. If false, WebMapServiceImageryProvider#pickFeatures will immediately return undefined (indicating no pickable features) without communicating with the server. Set this property to false if you know your WMS server does not support GetFeatureInfo or if you don't want this provider's features to be pickable. Note that this can be dynamically overridden by modifying the WebMapServiceImageryProvider#enablePickFeatures property. |
| getFeatureInfoFormats | Array | | `optional` The formats in which to try WMS GetFeatureInfo requests. |
| rectangle | Object\|Array | | `optional` The rectangle of the layer. |
| rectangle | VcRectangle\|Array | | `optional` The rectangle of the layer. |
| tilingScheme | Object | | `optional` The tiling scheme to use to divide the world into tiles. |
| ellipsoid | Cesium.Ellipsoid | | `optional` The ellipsoid. If the tilingScheme is specified, this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither parameter is specified, the WGS84 ellipsoid is used. |
| tileWidth | number | `256` | `optional` The width of each tile in pixels. |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/providers/vc-imagery-provider-wmts.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Basic usage of the `vc-imagery-provider-wmts` component.
| tileWidth | number | `256` | `optional` The tile width in pixels. |
| tileHeight | number | `256` | `optional` The tile height in pixels. |
| tilingScheme | TilingScheme | | `optional` The tiling scheme corresponding to the organization of the tiles in the TileMatrixSet. |
| rectangle | Object\|Array | | `optional` The rectangle covered by the layer. |
| rectangle | VcRectangle\|Array | | `optional` The rectangle covered by the layer. |
| minimumLevel | number | `0` | `optional` The minimum level-of-detail supported by the imagery provider. |
| maximumLevel | number | | `optional` The maximum level-of-detail supported by the imagery provider, or undefined if there is no limit. |
| ellipsoid | Ellipsoid | | `optional` The ellipsoid. If not specified, the WGS84 ellipsoid is used. |
Expand Down
8 changes: 4 additions & 4 deletions website/docs/en-US/vc-config-provider.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!--
* @Author: zouyaoji@https://github.com/zouyaoji
* @Date: 2021-11-07 10:54:09
* @LastEditTime: 2022-05-18 11:56:39
* @LastEditors: zouyaoji
* @LastEditTime: 2022-09-21 10:49:55
* @LastEditors: ly
* @Description:
* @FilePath: \vue-cesium@next\website\docs\en-US\vc-config-provider.md
* @FilePath: \vue-cesium\website\docs\en-US\vc-config-provider.md
-->

# VcConfigProvider
Expand Down Expand Up @@ -159,6 +159,6 @@ Basic usage of `vc-config-provider`.
<!-- prettier-ignore -->
| Name | Type | Default | Description |
| ------ | ------------------ | --------------------------------------------------------------------------------- | ------------- |
| locale | Object\<Language\> | [Chinese](https://github.com/zouyaoji/vue-cesium/blob/dev/packages/locale/lang/zh-hans.ts) | `optional` Locale Object. |
| locale | <Language\> | [Chinese](https://github.com/zouyaoji/vue-cesium/blob/dev/packages/locale/lang/zh-hans.ts) | `optional` Locale Object. |
| cesiumPath | string | `'https://unpkg.com/cesium@latest/Build/Cesium/Cesium.js'` | `optional` CesiumJS url. |
| accessToken | string | `'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI2OGE2MjZlOC1mMzhiLTRkZjQtOWEwZi1jZTE0MWY0YzhlMTAiLCJpZCI6MjU5LCJpYXQiOjE2NDM3MjU1NzZ9.ptZ5tVXvMmuWRC0WhjtYTg-17nQh14fgxBsx0HJiVXQ'` | `optional` accessToken. |
4 changes: 2 additions & 2 deletions website/docs/zh-CN/geometries/vc-geometry-ellipsoid.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@

| 属性名 | 类型 | 默认值 | 描述 |
| --------------- | ------------- | ------ | ----------------------------------------------------------- |
| radii | Object\|Array | | `optional` 指定椭球体在 x、y、z 方向上的半径。 |
| radii | VcPosition\|Array | | `optional` 指定椭球体在 x、y、z 方向上的半径。 |
| innerRadii | number | | `optional` 指定椭球体在 x、y、z 方向上的内半径。 |
| minimumClock | number | `0.0` | `optional` 指定椭球体在 xy 平面内从 x 轴到 y 轴的最小角度。 |
| maximumClock | number | `2*PI` | `optional` 指定椭球体在 xy 平面内从 x 轴到 y 轴的最大角度。 |
Expand Down Expand Up @@ -158,7 +158,7 @@

| 属性名 | 类型 | 默认值 | 描述 |
| --------------- | ------------- | ------ | ----------------------------------------------------------- |
| radii | Object\|Array | | `optional` 指定椭球体在 x、y、z 方向上的半径。 |
| radii | VcPosition\|Array | | `optional` 指定椭球体在 x、y、z 方向上的半径。 |
| innerRadii | number | | `optional` 指定椭球体在 x、y、z 方向上的内半径。 |
| minimumClock | number | `0.0` | `optional` 指定椭球体在 xy 平面内从 x 轴到 y 轴的最小角度。 |
| maximumClock | number | `2*PI` | `optional` 指定椭球体在 xy 平面内从 x 轴到 y 轴的最大角度。 |
Expand Down
8 changes: 4 additions & 4 deletions website/docs/zh-CN/geometries/vc-geometry-frustum.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@
| 属性名 | 类型 | 默认值 | 描述 |
| ------------ | ------------- | ------ | ----------------------------------- |
| frustum | Cesium.PerspectiveFrustum \| Cesium.OrthographicFrustum | | `optional` 指定视锥体参数。 |
| origin | Object\|Array | | `optional` 指定视锥体原点。 |
| orientation | Object\|Array | | `optional` 指定视锥体旋转参数。 |
| origin | VcPosition\|Array | | `optional` 指定视锥体原点。 |
| orientation | Cesium.Quaternion\|Array | | `optional` 指定视锥体旋转参数。 |
| vertexFormat | Cesium.VertexFormat | | `optional` 指定视锥体顶点渲染方式。 |

### 事件
Expand All @@ -158,8 +158,8 @@
| 属性名 | 类型 | 默认值 | 描述 |
| ----------- | ------------- | ------ | ------------------------------- |
| frustum | Cesium.PerspectiveFrustum \| Cesium.OrthographicFrustum | | `optional` 指定视锥体参数。 |
| origin | Object\|Array | | `optional` 指定视锥体原点。 |
| orientation | Object\|Array | | `optional` 指定视锥体旋转参数。 |
| origin | VcPosition\|Array | | `optional` 指定视锥体原点。 |
| orientation | Cesium.Quaternion\|Array | | `optional` 指定视锥体旋转参数。 |

### VcGeometryFrustumOutline 事件

Expand Down
Loading

0 comments on commit 9142468

Please sign in to comment.