Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
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.
 
bool createCartesian (const int32_t numI_, const int32_t numJ_)
 Creates a cartesian mesh for the related art object.
 
MeshType meshType () const
 Gets the type of mesh.
 
bool cartesianSize (int32_t &numI__, int32_t &numJ__) const
 Gets the size of the target mesh (number of patches)
 

Friends

class Art
 

Detailed Description

Allows for mesh manipulation, metadata access, etc.

Constructor & Destructor Documentation

◆ ~MeshArt()

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

Destructs a MeshArt object.

Author
GW
Date
08/2014

Member Function Documentation

◆ cartesianSize()

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

◆ createCartesian()

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()

MeshType hdi::core::MeshArt::meshType ( ) const

Gets the type of mesh.

Author
GW
Date
08/2014
Returns
The mesh type