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

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

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

Public Member Functions

MeshCylinderpositionTop (const Vec3 &p)
 
Vec3 positionTop () const
 
MeshCylinderpositionBottom (const Vec3 &p)
 
Vec3 positionBottom () const
 
MeshCylinderradiusTop (const float &r)
 
float radiusTop () const
 
MeshCylinderradiusBottom (const float &r)
 
float radiusBottom () const
 
- Public Member Functions inherited from coat::scripto::MeshX< MeshCylinder >
virtual Mesh build () const =0
 
Mesh operator() () const
 
- Public Member Functions inherited from coat::scripto::AMesh< MeshCylinder >
 mRaw (raw)
 
 AMesh (const AAbout &d)
 
const AAbout & aabout () const
 
bool operator== (const AMesh &b) const
 Comparison. More...
 
MeshCylinderdetails (const float &d)
 Setter for details level.
 
float details () const
 Getter for details level.
 
MeshCylinderposition (const Vec3 &p)
 Setter for position.
 
Vec3 position () const
 Getter for position.
 
MeshCylinderrotation (const Angles &a)
 Setter for rotation.
 
Angles rotation () const
 Getter for rotation.
 
MeshCylindertransform (const Mat4 &m)
 Setter for transform.
 
Mat4 transform () const
 Getter for transform.
 
MeshCylinderadd (const MeshCylinder &b)
 Fusion a mesh b to this mesh. More...
 
MeshCylinderadd (const MeshCylinder &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh addCopy (const MeshCylinder &b) const
 
Mesh addCopy (const MeshCylinder &, const Bevel &) const
 
Mesh operator| (const MeshCylinder &) const
 Fusion two meshes to one mesh. Logical OR. More...
 
MeshCylindersubtruct (const MeshCylinder &b)
 Fusion a mesh b to this mesh. More...
 
MeshCylindersubtruct (const MeshCylinder &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh subtructCopy (const MeshCylinder &b) const
 
Mesh subtructCopy (const MeshCylinder &, const Bevel &) const
 
Mesh operator- (const MeshCylinder &) const
 Subtract mesh b from this mesh. More...
 
MeshCylinderintersect (const MeshCylinder &b)
 Fusion a mesh b to this mesh. More...
 
MeshCylinderintersect (const MeshCylinder &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh intersectCopy (const MeshCylinder &b) const
 
Mesh intersectCopy (const MeshCylinder &, const Bevel &) const
 
Mesh operator& (const MeshCylinder &) const
 Intersects mesh b and this mesh. Logical AND. More...
 
const raw_traw () const
 
raw_traw ()
 

Additional Inherited Members

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

Detailed Description

Class for working with mesh which represents like cylinder.

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