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

Public Member Functions

 __init__ (self, *args, **kwargs)
Plane3d __neg__ (self)
ConstPlane3d __pos__ (self)
str __repr__ (self)
typing.Any __rlshift__ (self, typing.Any pl)
float distance (self, ConstVector3d x)
Plane3d normalized (self)
Vector3d project (self, ConstVector3d p)
float d (self)
ConstVector3d n (self)

Static Public Member Functions

Plane3d fromDirAndPt (ConstVector3d n, ConstVector3d p)

Static Protected Attributes

typing _offsetof_d = 24
typing _offsetof_n = 0

Detailed Description

Generated from:  MR::Plane3d

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

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstPlane3d.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstPlane3d) -> None

2. __init__(self: meshlib.mrmeshpy.ConstPlane3d, n: meshlib.mrmeshpy.ConstVector3d, d: float) -> None

3. __init__(self: meshlib.mrmeshpy.ConstPlane3d, p: meshlib.mrmeshpy.ConstPlane3f) -> 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.ConstPlane3d, arg0: meshlib.mrmeshpy.ConstPlane3d) -> None

Implicit copy constructor.

5. __init__(self: meshlib.mrmeshpy.ConstPlane3d, : meshlib.mrmeshpy.ConstPlane3d) -> None

Member Function Documentation

◆ __neg__()

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

◆ __pos__()

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

◆ __repr__()

str mrmeshpy.ConstPlane3d.__repr__ ( self)

◆ __rlshift__()

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

◆ d()

float mrmeshpy.ConstPlane3d.d ( self)

◆ distance()

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

◆ fromDirAndPt()

Plane3d mrmeshpy.ConstPlane3d.fromDirAndPt ( ConstVector3d n,
ConstVector3d p )
static

◆ n()

ConstVector3d mrmeshpy.ConstPlane3d.n ( self)

Reimplemented in mrmeshpy.Plane3d, and mrmeshpy.Plane3d.

◆ normalized()

Plane3d mrmeshpy.ConstPlane3d.normalized ( self)
returns same plane represented with unit n-vector

◆ project()

Vector3d mrmeshpy.ConstPlane3d.project ( self,
ConstVector3d p )
finds the closest point on plane

Member Data Documentation

◆ _offsetof_d

typing mrmeshpy.ConstPlane3d._offsetof_d = 24
staticprotected

◆ _offsetof_n

typing mrmeshpy.ConstPlane3d._offsetof_n = 0
staticprotected

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