3DCoat  3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
coat::scripto::MeshCuboid Class Referenceabstract

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

#include <SMeshCuboid.h>

Public Types

enum  Mode
 Operations with meshes. More...
 

Public Member Functions

bool operator== (const AMesh &b) const
 Comparison. More...
 
MeshCuboiddetails (const float &d)
 Setter for details level. More...
 
float details () const
 Getter for details level. More...
 
MeshCuboidposition (const Vec3 &p)
 Setter for position. More...
 
Vec3 position () const
 Getter for position. More...
 
MeshCuboidrotation (const Angles &a)
 Setter for rotation. More...
 
Angles rotation () const
 Getter for rotation. More...
 
MeshCuboidtransform (const Mat4 &m)
 Setter for transform. More...
 
Mat4 transform () const
 Getter for transform. More...
 
MeshCuboidadd (const MeshCuboid &b)
 Fusion a mesh b to this mesh. More...
 
MeshCuboidadd (const MeshCuboid &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh addCopy (const MeshCuboid &b) const
 
Mesh addCopy (const MeshCuboid &, const Bevel &) const
 
Mesh operator| (const MeshCuboid &) const
 Fusion two meshes to one mesh. Logical OR. More...
 
MeshCuboidsubtruct (const MeshCuboid &b)
 Fusion a mesh b to this mesh. More...
 
MeshCuboidsubtruct (const MeshCuboid &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh subtructCopy (const MeshCuboid &b) const
 
Mesh subtructCopy (const MeshCuboid &, const Bevel &) const
 
Mesh operator- (const MeshCuboid &) const
 Subtract mesh b from this mesh. More...
 
MeshCuboidintersect (const MeshCuboid &b)
 Fusion a mesh b to this mesh. More...
 
MeshCuboidintersect (const MeshCuboid &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh intersectCopy (const MeshCuboid &b) const
 
Mesh intersectCopy (const MeshCuboid &, const Bevel &) const
 
Mesh operator& (const MeshCuboid &) const
 Intersects mesh b and this mesh. Logical AND. More...
 

Detailed Description

Class for working with mesh which represents like cuboid.

mesh-cuboid.jpg
See Also
MeshSphere for notes.
Since
4.5.32
+ Inheritance diagram for coat::scripto::MeshCuboid:

Member Enumeration Documentation

enum coat::scripto::AMesh::Mode
stronginherited

Operations with meshes.

See Also
signMode()

Member Function Documentation

MeshCuboid & coat::scripto::AMesh< MeshCuboid >::add ( const MeshCuboid b)
inlineinherited

Fusion a mesh b to this mesh.

a.add( b );
See Also
operator|(), addCopy()
Since
4.7.15
MeshCuboid & coat::scripto::AMesh< MeshCuboid >::add ( const MeshCuboid ,
const Bevel  
)
inherited

Fusion a mesh b to this mesh with bevel.

a.add( b );
See Also
Bevel, operator|(), addCopy()
Since
4.7.15
Mesh coat::scripto::AMesh< MeshCuboid >::addCopy ( const MeshCuboid b) const
inherited
See Also
add( const Mesh& )
Since
4.7.15
Mesh coat::scripto::AMesh< MeshCuboid >::addCopy ( const MeshCuboid ,
const Bevel  
) const
inherited
See Also
add( const Mesh&, const Bevel& )
Since
4.7.15
MeshCuboid & coat::scripto::AMesh< MeshCuboid >::details ( const float &  d)
inlineinherited

Setter for details level.

float coat::scripto::AMesh< MeshCuboid >::details ( ) const
inlineinherited

Getter for details level.

MeshCuboid & coat::scripto::AMesh< MeshCuboid >::intersect ( const MeshCuboid b)
inlineinherited

Fusion a mesh b to this mesh.

a.intersect( b );

operator&()

Since
4.7.15
MeshCuboid & coat::scripto::AMesh< MeshCuboid >::intersect ( const MeshCuboid ,
const Bevel  
)
inherited

Fusion a mesh b to this mesh with bevel.

a.intersect( b );
See Also
Bevel
Since
4.7.15
Mesh coat::scripto::AMesh< MeshCuboid >::intersectCopy ( const MeshCuboid b) const
inherited
See Also
intersect( const Mesh& )
Since
4.7.15
Mesh coat::scripto::AMesh< MeshCuboid >::intersectCopy ( const MeshCuboid ,
const Bevel  
) const
inherited
See Also
intersect( const Mesh&, const Bevel& )
Since
4.7.15
Mesh coat::scripto::AMesh< MeshCuboid >::operator& ( const MeshCuboid ) const
inherited

Intersects mesh b and this mesh. Logical AND.

Mesh r = a & b;
See Also
intersect()
Mesh coat::scripto::AMesh< MeshCuboid >::operator- ( const MeshCuboid ) const
inherited

Subtract mesh b from this mesh.

Mesh r = a - b;
See Also
subtruct()
bool coat::scripto::AMesh< MeshCuboid >::operator== ( const AMesh< MeshCuboid > &  b) const
inlineinherited

Comparison.

Mesh a;
Mesh b;
...
if (a == b) { ... }
Mesh coat::scripto::AMesh< MeshCuboid >::operator| ( const MeshCuboid ) const
inherited

Fusion two meshes to one mesh. Logical OR.

Mesh r = a | b;
See Also
add()
MeshCuboid & coat::scripto::AMesh< MeshCuboid >::position ( const Vec3 p)
inlineinherited

Setter for position.

Vec3 coat::scripto::AMesh< MeshCuboid >::position ( ) const
inlineinherited

Getter for position.

MeshCuboid & coat::scripto::AMesh< MeshCuboid >::rotation ( const Angles a)
inlineinherited

Setter for rotation.

Angles coat::scripto::AMesh< MeshCuboid >::rotation ( ) const
inlineinherited

Getter for rotation.

MeshCuboid & coat::scripto::AMesh< MeshCuboid >::subtruct ( const MeshCuboid b)
inlineinherited

Fusion a mesh b to this mesh.

a.subtruct( b );

operator-()

Since
4.7.15
MeshCuboid & coat::scripto::AMesh< MeshCuboid >::subtruct ( const MeshCuboid ,
const Bevel  
)
inherited

Fusion a mesh b to this mesh with bevel.

a.subtruct( b );
See Also
Bevel
Since
4.7.15
Mesh coat::scripto::AMesh< MeshCuboid >::subtructCopy ( const MeshCuboid b) const
inherited
See Also
subtruct( const Mesh& )
Since
4.7.15
Mesh coat::scripto::AMesh< MeshCuboid >::subtructCopy ( const MeshCuboid ,
const Bevel  
) const
inherited
See Also
subtruct( const Mesh&, const Bevel& )
Since
4.7.15
MeshCuboid & coat::scripto::AMesh< MeshCuboid >::transform ( const Mat4 m)
inlineinherited

Setter for transform.

Mat4 coat::scripto::AMesh< MeshCuboid >::transform ( ) const
inlineinherited

Getter for transform.


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