MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.Plane3d Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, Vector3d n, float d)
 
None __init__ (self, Plane3f p)
 
Plane3d __neg__ (self)
 
Plane3d __pos__ (self)
 
str __repr__ (self)
 
float distance (self, Vector3d x)
 
Plane3d normalized (self)
 
Vector3d project (self, Vector3d p)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
Plane3d fromDirAndPt (Vector3d n, Vector3d p)
 
Plane3d operator (*args, **kwargs)
 
Plane3d operator (*args, **kwargs)
 

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
\\ingroup MathGroup

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.Plane3d.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.Plane3d.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.Plane3d.__init__ ( self,
Vector3d n,
float d )

◆ __init__() [4/4]

None mrmeshpy.Plane3d.__init__ ( self,
Plane3f p )

Member Function Documentation

◆ __neg__()

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

◆ __pos__()

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

◆ __repr__()

str mrmeshpy.Plane3d.__repr__ ( self)

◆ distance()

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

◆ fromDirAndPt()

Plane3d mrmeshpy.Plane3d.fromDirAndPt ( Vector3d n,
Vector3d p )
static

◆ normalized()

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

◆ operator() [1/2]

Plane3d mrmeshpy.Plane3d.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

Plane3d mrmeshpy.Plane3d.operator ( * args,
** kwargs )
static

◆ project()

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

Member Data Documentation

◆ _offsetof_d

typing mrmeshpy.Plane3d._offsetof_d = 24
staticprotected

◆ _offsetof_n

typing mrmeshpy.Plane3d._offsetof_n = 0
staticprotected

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