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

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

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

Public Member Functions

MeshGearstartPoint (const Vec3 &s)
 
Vec3 startPoint () const
 
MeshGearendPoint (const Vec3 &s)
 
Vec3 endPoint () const
 
MeshGearheight (const float &s)
 
float height () const
 
MeshGeartopRadius (const float &s)
 
float topRadius () const
 
MeshGearbottomRadius (const float &s)
 
float bottomRadius () const
 
MeshGearrelativeHoleRadius (const float &s)
 
float relativeHoleRadius () const
 
MeshGeardepth (const float &s)
 
float depth () const
 
MeshGearsharpness (const float &s)
 
float sharpness () const
 
MeshGearteeth (const int &s)
 
int teeth () const
 
- Public Member Functions inherited from coat::scripto::MeshX< MeshGear >
virtual Mesh build () const =0
 
Mesh operator() () const
 
- Public Member Functions inherited from coat::scripto::AMesh< MeshGear >
 mRaw (raw)
 
 AMesh (const AAbout &d)
 
const AAbout & aabout () const
 
bool operator== (const AMesh &b) const
 Comparison. More...
 
MeshGeardetails (const float &d)
 Setter for details level.
 
float details () const
 Getter for details level.
 
MeshGearposition (const Vec3 &p)
 Setter for position.
 
Vec3 position () const
 Getter for position.
 
MeshGearrotation (const Angles &a)
 Setter for rotation.
 
Angles rotation () const
 Getter for rotation.
 
MeshGeartransform (const Mat4 &m)
 Setter for transform.
 
Mat4 transform () const
 Getter for transform.
 
MeshGearadd (const MeshGear &b)
 Fusion a mesh b to this mesh. More...
 
MeshGearadd (const MeshGear &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh addCopy (const MeshGear &b) const
 
Mesh addCopy (const MeshGear &, const Bevel &) const
 
Mesh operator| (const MeshGear &) const
 Fusion two meshes to one mesh. Logical OR. More...
 
MeshGearsubtruct (const MeshGear &b)
 Fusion a mesh b to this mesh. More...
 
MeshGearsubtruct (const MeshGear &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh subtructCopy (const MeshGear &b) const
 
Mesh subtructCopy (const MeshGear &, const Bevel &) const
 
Mesh operator- (const MeshGear &) const
 Subtract mesh b from this mesh. More...
 
MeshGearintersect (const MeshGear &b)
 Fusion a mesh b to this mesh. More...
 
MeshGearintersect (const MeshGear &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh intersectCopy (const MeshGear &b) const
 
Mesh intersectCopy (const MeshGear &, const Bevel &) const
 
Mesh operator& (const MeshGear &) 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< MeshGear >
enum  Mode
 
typedef comms::cMeshContainer raw_t
 
- Protected Member Functions inherited from coat::scripto::AMesh< MeshGear >
MeshGearcastThis ()
 
- Protected Attributes inherited from coat::scripto::AMesh< MeshGear >
AAbout mAAbout
 
raw_t mRaw
 

Detailed Description

Class for working with mesh which represents like gear.

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