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

Public Member Functions

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

Static Public Member Functions

Plane3d fromDirAndPt (Vector3d n, Vector3d p)
 

Detailed Description

Generated from:  MR::Plane3d
Aliases:  Plane3_double, Plane3_double

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

Constructor & Destructor Documentation

◆ __init__() [1/4]

None meshlib.mrmeshpy.Plane3d.__init__ ( self)

◆ __init__() [2/4]

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

◆ __init__() [3/4]

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

◆ __init__() [4/4]

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

Member Function Documentation

◆ __neg__()

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

◆ __pos__()

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

◆ distance()

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

◆ fromDirAndPt()

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

◆ normalized()

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

◆ project()

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

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