MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ConstPlane3f:

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

Detailed Description

Generated from:  MR::Plane3f

3-dimensional plane: dot(n,x) - d = 0

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ __neg__()

Plane3f mrmeshpy.ConstPlane3f.__neg__ ( self)
returns same plane represented with flipped direction of n-vector

◆ __pos__()

ConstPlane3f mrmeshpy.ConstPlane3f.__pos__ ( self)
returns same representation

◆ __repr__()

str mrmeshpy.ConstPlane3f.__repr__ ( self)

◆ __rlshift__()

typing.Any mrmeshpy.ConstPlane3f.__rlshift__ ( self,
typing.Any pl )

◆ d()

float mrmeshpy.ConstPlane3f.d ( self)

◆ distance()

float mrmeshpy.ConstPlane3f.distance ( self,
ConstVector3f x )
returns distance from given point to this plane (if n is a unit vector)

◆ fromDirAndPt()

Plane3f mrmeshpy.ConstPlane3f.fromDirAndPt ( ConstVector3f n,
ConstVector3f p )
static

◆ n()

ConstVector3f mrmeshpy.ConstPlane3f.n ( self)

Reimplemented in mrmeshpy.Plane3f, and mrmeshpy.Plane3f.

◆ normalized()

Plane3f mrmeshpy.ConstPlane3f.normalized ( self)
returns same plane represented with unit n-vector

◆ project()

Vector3f mrmeshpy.ConstPlane3f.project ( self,
ConstVector3f p )
finds the closest point on plane

Member Data Documentation

◆ _offsetof_d

typing mrmeshpy.ConstPlane3f._offsetof_d = 12
staticprotected

◆ _offsetof_n

typing mrmeshpy.ConstPlane3f._offsetof_n = 0
staticprotected

The documentation for this class was generated from the following file: