MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.Plane3f Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, Vector3f n, float d)
 
None __init__ (self, Plane3f p)
 
None __init__ (self, Plane3d p)
 
None __init__ (self, Plane3f arg0)
 
Plane3f __neg__ (self)
 
Plane3f __pos__ (self)
 
float distance (self, Vector3f x)
 
Plane3f normalized (self)
 
Vector3f project (self, Vector3f p)
 

Static Public Member Functions

Plane3f fromDirAndPt (Vector3f n, Vector3f p)
 

Detailed Description

Generated from:  MR::Plane3f
Aliases:  Plane3_float, Plane3_float

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

Constructor & Destructor Documentation

◆ __init__() [1/5]

None meshlib.mrmeshpy.Plane3f.__init__ ( self)

◆ __init__() [2/5]

None meshlib.mrmeshpy.Plane3f.__init__ ( self,
Vector3f n,
float d )

◆ __init__() [3/5]

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

◆ __init__() [4/5]

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

◆ __init__() [5/5]

None meshlib.mrmeshpy.Plane3f.__init__ ( self,
Plane3f arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __neg__()

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

◆ __pos__()

Plane3f meshlib.mrmeshpy.Plane3f.__pos__ ( self)
returns same representation

◆ distance()

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

◆ fromDirAndPt()

Plane3f meshlib.mrmeshpy.Plane3f.fromDirAndPt ( Vector3f n,
Vector3f p )
static

◆ normalized()

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

◆ project()

Vector3f meshlib.mrmeshpy.Plane3f.project ( self,
Vector3f p )
finds the closest point on plane

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