new viewpoint(selection)
Constructor
- Source:
Parameters:
Name | Type | Description |
---|---|---|
selection |
d3.selection
|
The chart holder D3 selection. |
Methods
(static) centerOfRotation(_v) → {*}
Centre of Rotation Getter / Setter
- Source:
Parameters:
Name | Type | Description |
---|---|---|
_v |
Array.<number>
|
Centre of rotation. |
Returns:
- Type:
-
*
(static) fieldOfView(_v) → {*}
Field of View Getter / Setter
- Source:
Parameters:
Name | Type | Description |
---|---|---|
_v |
number
|
Field of view. |
Returns:
- Type:
-
*
(static) quickView(view) → {my}
Set Quick Viewpoint
- Source:
Parameters:
Name | Type | Description |
---|---|---|
view |
string
|
"left", "side", "top", "dimetric" |
Returns:
- Type:
-
my
(static) viewOrientation(_v) → {*}
View Orientation Getter / Setter
- Source:
Parameters:
Name | Type | Description |
---|---|---|
_v |
Array.<number>
|
View orientation. |
Returns:
- Type:
-
*
(static) viewPosition(_v) → {*}
View Position Getter / Setter
- Source:
Parameters:
Name | Type | Description |
---|---|---|
_v |
Array.<number>
|
View position. |
Returns:
- Type:
-
*