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

Public Member Functions

None __init__ (self)
 
None __init__ (self, Line3d inAxis, float inAngle, float inHeight)
 
Vector3d apex (self)
 
Vector3d apex (self)
 
Vector3d center (self)
 
Vector3d center (self)
 
Vector3d direction (self)
 
Vector3d direction (self)
 
Vector3d projectPoint (self, Vector3d point)
 
float angle (self)
 
None angle (self, float arg1)
 
Line3d axis (self)
 
None axis (self, Line3d arg1)
 
float height (self)
 
None height (self, float arg1)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
Cone3d operator (*args, **kwargs)
 
Cone3d operator (*args, **kwargs)
 

Static Protected Attributes

typing _offsetof_angle = 48
 
typing _offsetof_axis = 0
 
typing _offsetof_height = 56
 

Detailed Description

Generated from:  MR::Cone3d

Base class for cone parameterization

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

None mrmeshpy.Cone3d.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.Cone3d.__init__ ( self,
Line3d inAxis,
float inAngle,
float inHeight )
inAxis -- apex position and main axis direction.  For any cone point dot( point , direction ) >=0
inAngle -- cone angle, main axis vs side
inHeight -- cone inHeight
main axis direction could be non normalized.

Member Function Documentation

◆ angle() [1/2]

float mrmeshpy.Cone3d.angle ( self)
cone angle, main axis vs side

◆ angle() [2/2]

None mrmeshpy.Cone3d.angle ( self,
float arg1 )

◆ apex() [1/2]

Vector3d mrmeshpy.Cone3d.apex ( self)
return cone apex position 

◆ apex() [2/2]

Vector3d mrmeshpy.Cone3d.apex ( self)
return cone apex position

◆ axis() [1/2]

Line3d mrmeshpy.Cone3d.axis ( self)
the combination of the apex of the cone and the direction of its main axis in space. 

◆ axis() [2/2]

None mrmeshpy.Cone3d.axis ( self,
Line3d arg1 )

◆ center() [1/2]

Vector3d mrmeshpy.Cone3d.center ( self)
now we use an apex as center of the cone. 

◆ center() [2/2]

Vector3d mrmeshpy.Cone3d.center ( self)
now we use an apex as center of the cone. 

◆ direction() [1/2]

Vector3d mrmeshpy.Cone3d.direction ( self)
main axis direction. It could be non normalized. For any cone point dot( point , direction ) >=0

◆ direction() [2/2]

Vector3d mrmeshpy.Cone3d.direction ( self)
main axis direction. It could be non normalized. For any cone point dot( point , direction ) >=0

◆ height() [1/2]

float mrmeshpy.Cone3d.height ( self)
cone height

◆ height() [2/2]

None mrmeshpy.Cone3d.height ( self,
float arg1 )

◆ operator() [1/2]

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

◆ operator() [2/2]

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

◆ projectPoint()

Vector3d mrmeshpy.Cone3d.projectPoint ( self,
Vector3d point )

Member Data Documentation

◆ _offsetof_angle

typing mrmeshpy.Cone3d._offsetof_angle = 48
staticprotected

◆ _offsetof_axis

typing mrmeshpy.Cone3d._offsetof_axis = 0
staticprotected

◆ _offsetof_height

typing mrmeshpy.Cone3d._offsetof_height = 56
staticprotected

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