HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GA_Breakpoint Class Reference

#include <GA_Breakpoint.h>

Public Member Functions

 GA_Breakpoint (const GA_Primitive *prim=0, int uidx=-1, int vidx=-1)
 
 GA_Breakpoint (const GA_Breakpoint &b)
 
 ~GA_Breakpoint ()
 
bool operator== (const GA_Breakpoint &b) const
 
bool isPrimary () const
 
int u () const
 
int v () const
 
int getU () const
 
int getV () const
 
void setU (int u)
 
void setV (int v)
 
const GA_PrimitivegetSpline () const
 
void setSpline (const GA_Primitive *p)
 
bool jsonSave (UT_JSONWriter &w, const GA_SaveMap &map) const
 
bool jsonLoad (UT_JSONParser &p, const GA_LoadMap &map)
 Load from a JSON stream. More...
 

Detailed Description

Definition at line 26 of file GA_Breakpoint.h.

Constructor & Destructor Documentation

GA_Breakpoint::GA_Breakpoint ( const GA_Primitive prim = 0,
int  uidx = -1,
int  vidx = -1 
)
inline

Definition at line 29 of file GA_Breakpoint.h.

GA_Breakpoint::GA_Breakpoint ( const GA_Breakpoint b)
inline

Definition at line 31 of file GA_Breakpoint.h.

GA_Breakpoint::~GA_Breakpoint ( )
inline

Definition at line 33 of file GA_Breakpoint.h.

Member Function Documentation

const GA_Primitive* GA_Breakpoint::getSpline ( ) const
inline

Definition at line 60 of file GA_Breakpoint.h.

int GA_Breakpoint::getU ( ) const
inline

Definition at line 51 of file GA_Breakpoint.h.

int GA_Breakpoint::getV ( ) const
inline

Definition at line 53 of file GA_Breakpoint.h.

bool GA_Breakpoint::isPrimary ( ) const
inline

Definition at line 43 of file GA_Breakpoint.h.

bool GA_Breakpoint::jsonLoad ( UT_JSONParser p,
const GA_LoadMap map 
)

Load from a JSON stream.

bool GA_Breakpoint::jsonSave ( UT_JSONWriter w,
const GA_SaveMap map 
) const

Save data to a JSON stream.

JSON Schema: GA_Breakpoint

{
"name" : "GA_Breakpoint",
"description" : "An tuple describing the breakpoint.
(prim_number, uindex, vindex)",
"type" : "array",
"items" : "integer",
"minitems" : 3,
"maxitems" : 3,
}
See Also
JSON_FileFormat
bool GA_Breakpoint::operator== ( const GA_Breakpoint b) const
inline

Definition at line 35 of file GA_Breakpoint.h.

void GA_Breakpoint::setSpline ( const GA_Primitive p)
inline

Definition at line 62 of file GA_Breakpoint.h.

void GA_Breakpoint::setU ( int  u)
inline

Definition at line 55 of file GA_Breakpoint.h.

void GA_Breakpoint::setV ( int  v)
inline

Definition at line 57 of file GA_Breakpoint.h.

int GA_Breakpoint::u ( ) const
inline

Definition at line 47 of file GA_Breakpoint.h.

int GA_Breakpoint::v ( ) const
inline

Definition at line 49 of file GA_Breakpoint.h.


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