Hot Door CORE  0.7.0
Adobe® Illustrator® Plug-in Library
Public Types | Public Member Functions | Friends | List of all members
hdi::core::MeshArt Class Reference

Allows for mesh manipulation, metadata access, etc. More...

#include <hdicoreMeshArt.h>

Public Types

enum  MeshType { UnknownMeshType = 0, CartesianMeshType = 10, PolarMeshType = 20 }
 Describes the type of an Illustrator mesh.
 

Public Member Functions

 ~MeshArt ()
 Destructs a MeshArt object. More...
 
bool createCartesian (const int32_t numI_, const int32_t numJ_)
 Creates a cartesian mesh for the related art object. More...
 
MeshType meshType () const
 Gets the type of mesh. More...
 
bool cartesianSize (int32_t &numI__, int32_t &numJ__) const
 Gets the size of the target mesh (number of patches) More...
 

Friends

class Art
 

Detailed Description

Allows for mesh manipulation, metadata access, etc.

Constructor & Destructor Documentation

hdi::core::MeshArt::~MeshArt ( )

Destructs a MeshArt object.

Author
GW
Date
08/2014

Member Function Documentation

bool hdi::core::MeshArt::cartesianSize ( int32_t &  numI__,
int32_t &  numJ__ 
) const

Gets the size of the target mesh (number of patches)

Author
GW
Date
08/2014
Parameters
numI__Return-by-reference for the number of I axis patches
numJ__Return-by-reference for the number of J axis patches
Returns
true if the dimensions could be acquired, false otherwise
bool hdi::core::MeshArt::createCartesian ( const int32_t  numI_,
const int32_t  numJ_ 
)

Creates a cartesian mesh for the related art object.

Author
GW
Date
08/2014
Parameters
numI_Number of patches along the I axis
numJ_Number of patches along the J axis
Returns
true if the mesh could be created, false otherwise
MeshType hdi::core::MeshArt::meshType ( ) const

Gets the type of mesh.

Author
GW
Date
08/2014
Returns
The mesh type