Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| Plane3f | __neg__ (self) |
| ConstPlane3f | __pos__ (self) |
| str | __repr__ (self) |
| typing.Any | __rlshift__ (self, typing.Any pl) |
| float | distance (self, ConstVector3f x) |
| Plane3f | normalized (self) |
| Vector3f | project (self, ConstVector3f p) |
| float | d (self) |
| ConstVector3f | n (self) |
Static Public Member Functions | |
| Plane3f | fromDirAndPt (ConstVector3f n, ConstVector3f p) |
Static Protected Attributes | |
| typing | _offsetof_d = 12 |
| typing | _offsetof_n = 0 |
Generated from: MR::Plane3f 3-dimensional plane: dot(n,x) - d = 0
| mrmeshpy.ConstPlane3f.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstPlane3f) -> None 2. __init__(self: meshlib.mrmeshpy.ConstPlane3f, n: meshlib.mrmeshpy.ConstVector3f, d: float) -> None 3. __init__(self: meshlib.mrmeshpy.ConstPlane3f, p: meshlib.mrmeshpy.ConstPlane3d) -> None Here `T == U` doesn't seem to cause any issues in the C++ code, but we're still disabling it because it somehow gets emitted when generating the bindings, and results in duplicate functions in C#. 4. __init__(self: meshlib.mrmeshpy.ConstPlane3f, arg0: meshlib.mrmeshpy.ConstPlane3f) -> None Implicit copy constructor. 5. __init__(self: meshlib.mrmeshpy.ConstPlane3f, : meshlib.mrmeshpy.ConstPlane3f) -> None
| Plane3f mrmeshpy.ConstPlane3f.__neg__ | ( | self | ) |
returns same plane represented with flipped direction of n-vector
| ConstPlane3f mrmeshpy.ConstPlane3f.__pos__ | ( | self | ) |
returns same representation
| str mrmeshpy.ConstPlane3f.__repr__ | ( | self | ) |
| typing.Any mrmeshpy.ConstPlane3f.__rlshift__ | ( | self, | |
| typing.Any | pl ) |
| float mrmeshpy.ConstPlane3f.d | ( | self | ) |
| float mrmeshpy.ConstPlane3f.distance | ( | self, | |
| ConstVector3f | x ) |
returns distance from given point to this plane (if n is a unit vector)
|
static |
| ConstVector3f mrmeshpy.ConstPlane3f.n | ( | self | ) |
Reimplemented in mrmeshpy.Plane3f, and mrmeshpy.Plane3f.
| Plane3f mrmeshpy.ConstPlane3f.normalized | ( | self | ) |
returns same plane represented with unit n-vector
| Vector3f mrmeshpy.ConstPlane3f.project | ( | self, | |
| ConstVector3f | p ) |
finds the closest point on plane
|
staticprotected |
|
staticprotected |