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

Class for working with polygon mesh which represents like any form. More...

Inherits coat::scripto::AMesh< Mesh >.

Public Member Functions

 Mesh (const std::string &fullPathFileOrLayerName)
 Load from file or layer. More...
 
 Mesh (const raw_t &raw)
 
bool operator== (const Mesh &b) const
 Comparison. More...
 
ToolsMesh tools ()
 
- Public Member Functions inherited from coat::scripto::AMesh< Mesh >
 mRaw (raw)
 
 AMesh (const AAbout &d)
 
const AAbout & aabout () const
 
bool operator== (const AMesh &b) const
 Comparison. More...
 
Meshdetails (const float &d)
 Setter for details level.
 
float details () const
 Getter for details level.
 
Meshposition (const Vec3 &p)
 Setter for position.
 
Vec3 position () const
 Getter for position.
 
Meshrotation (const Angles &a)
 Setter for rotation.
 
Angles rotation () const
 Getter for rotation.
 
Meshtransform (const Mat4 &m)
 Setter for transform.
 
Mat4 transform () const
 Getter for transform.
 
Meshadd (const Mesh &b)
 Fusion a mesh b to this mesh. More...
 
Meshadd (const Mesh &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh addCopy (const Mesh &b) const
 
Mesh addCopy (const Mesh &, const Bevel &) const
 
Mesh operator| (const Mesh &) const
 Fusion two meshes to one mesh. Logical OR. More...
 
Meshsubtruct (const Mesh &b)
 Fusion a mesh b to this mesh. More...
 
Meshsubtruct (const Mesh &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh subtructCopy (const Mesh &b) const
 
Mesh subtructCopy (const Mesh &, const Bevel &) const
 
Mesh operator- (const Mesh &) const
 Subtract mesh b from this mesh. More...
 
Meshintersect (const Mesh &b)
 Fusion a mesh b to this mesh. More...
 
Meshintersect (const Mesh &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh intersectCopy (const Mesh &b) const
 
Mesh intersectCopy (const Mesh &, const Bevel &) const
 
Mesh operator& (const Mesh &) 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< Mesh >
enum  Mode
 
typedef comms::cMeshContainer raw_t
 
- Protected Member Functions inherited from coat::scripto::AMesh< Mesh >
MeshcastThis ()
 
- Protected Attributes inherited from coat::scripto::AMesh< Mesh >
AAbout mAAbout
 
raw_t mRaw
 

Detailed Description

Class for working with polygon mesh which represents like any form.

mesh.jpg
Since
4.5.32

Constructor & Destructor Documentation

coat::scripto::Mesh::Mesh ( const std::string &  fullPathFileOrLayerName)
inline

Load from file or layer.

If layer not found by name when using a current layer.

Warning
Does not include hierarchy of layer.

Member Function Documentation

bool coat::scripto::Mesh::operator== ( const Mesh b) const
inline

Comparison.

Mesh a;
Mesh b;
...
if (a == b) { ... }