3DCoatScripting  4.8.31β
You can manage 3DСoat features with help of scripting
coat::scripto::MeshTube Class Reference

Class for working with mesh which represents like tube. More...

Inherits coat::scripto::MeshX< MeshTube >.

Public Member Functions

MeshTube & startPoint (const Vec3 &s)
 
Vec3 startPoint () const
 
MeshTube & endPoint (const Vec3 &s)
 
Vec3 endPoint () const
 
MeshTube & height (const float &s)
 
float height () const
 
MeshTube & topRadius (const float &s)
 
float topRadius () const
 
MeshTube & bottomRadius (const float &s)
 
float bottomRadius () const
 
MeshTube & relativeHoleRadius (const float &s)
 
float relativeHoleRadius () const
 
MeshTube & wallThickness (const float &s)
 
float wallThickness () const
 
MeshTube & topScale (const float &s)
 
float topScale () const
 
MeshTube & bottomScale (const float &s)
 
float bottomScale () const
 
- Public Member Functions inherited from coat::scripto::MeshX< MeshTube >
virtual Mesh build () const =0
 
Mesh operator() () const
 
- Public Member Functions inherited from coat::scripto::AMesh< MeshTube >
 mRaw (raw)
 
 AMesh (const AAbout &d)
 
const AAbout & aabout () const
 
bool operator== (const AMesh &b) const
 Comparison. More...
 
MeshTube & details (const float &d)
 Setter for details level.
 
float details () const
 Getter for details level.
 
MeshTube & position (const Vec3 &p)
 Setter for position.
 
Vec3 position () const
 Getter for position.
 
MeshTube & rotation (const Angles &a)
 Setter for rotation.
 
Angles rotation () const
 Getter for rotation.
 
MeshTube & transform (const Mat4 &m)
 Setter for transform.
 
Mat4 transform () const
 Getter for transform.
 
MeshTube & add (const MeshTube &b)
 Fusion a mesh b to this mesh. More...
 
MeshTube & add (const MeshTube &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh addCopy (const MeshTube &b) const
 
Mesh addCopy (const MeshTube &, const Bevel &) const
 
Mesh operator| (const MeshTube &) const
 Fusion two meshes to one mesh. Logical OR. More...
 
MeshTube & subtruct (const MeshTube &b)
 Fusion a mesh b to this mesh. More...
 
MeshTube & subtruct (const MeshTube &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh subtructCopy (const MeshTube &b) const
 
Mesh subtructCopy (const MeshTube &, const Bevel &) const
 
Mesh operator- (const MeshTube &) const
 Subtract mesh b from this mesh. More...
 
MeshTube & intersect (const MeshTube &b)
 Fusion a mesh b to this mesh. More...
 
MeshTube & intersect (const MeshTube &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh intersectCopy (const MeshTube &b) const
 
Mesh intersectCopy (const MeshTube &, const Bevel &) const
 
Mesh operator& (const MeshTube &) const
 Intersects mesh b and this mesh. Logical AND. More...
 
const raw_t & raw () const
 
raw_t & raw ()
 

Additional Inherited Members

- Public Types inherited from coat::scripto::AMesh< MeshTube >
enum  Mode
 
typedef comms::cMeshContainer raw_t
 
- Protected Member Functions inherited from coat::scripto::AMesh< MeshTube >
MeshTube & castThis ()
 
- Protected Attributes inherited from coat::scripto::AMesh< MeshTube >
AAbout mAAbout
 
raw_t mRaw
 

Detailed Description

Class for working with mesh which represents like tube.

mesh-tube.jpg
See Also
MeshSphere for notes.
Since
4.5.32