pyvista.PlaneSource#
- class PlaneSource(
- i_resolution: int = 10,
- j_resolution: int = 10,
- center: VectorLike[float] = (0.0, 0.0, 0.0),
- origin: VectorLike[float] = (-0.5, -0.5, 0.0),
- point_a: VectorLike[float] = (0.5, -0.5, 0.0),
- point_b: VectorLike[float] = (-0.5, 0.5, 0.0),
プレーンのソースを作成します。
The plane is defined by specifying an origin point, and then two other points that, together with the origin, define two axes for the plane (magnitude and direction). These axes do not have to be orthogonal - so you can create a parallelogram. The axes must not be parallel.
Added in version 0.44.
- パラメータ:
- i_resolution
int
, default: 10 平面上のi方向の点の数です.
- j_resolution
int
, default: 10 平面上のj方向の点の数.
- centersequence[
float
], default: (0.0, 0.0, 0.0) [x, y, z]
の中心.- originsequence[
float
], default: (-0.5, -0.5, 0.0) Origin in
[x, y, z]
.- point_asequence[
float
], default: (0.5, -0.5, 0.0) [x, y, z]
内の位置.- point_bsequence[
float
], default: (-0.5, 0.5, 0.0) [x, y, z]
内の位置.
- i_resolution
メソッド
Flip the plane's normal.
PlaneSource.push
(distance)Translate the plane in the direction of the normal by the distance specified.
アトリビュート
[x, y, z]
の中心を取得します.平面上のi方向の点の数です.
平面上のj方向の点の数.
Get the plane's normal vector.
Get the origin in
[x, y, z]
.このアルゴリズムのポートの出力データオブジェクトを取得します.
Get the Location in
[x, y, z]
.Get the Location in
[x, y, z]
.