#include "libnltrack.h"
#include <math.h>
Functions | |
int | addFundNode (int useSizeValue, float size, int useRotationValue, float rotation, char fundType, int flags, float posX, float posY, float posZ, NlTrack *Track) |
Add a Fundament Node. | |
FundNode | getFundNode (int fundindex, NlTrack *Track) |
int | modifyFundNode (int fundindex, int useSizeValue, float size, int useRotationValue, float rotation, char fundType, int flags, float posX, float posY, float posZ, NlTrack *Track) |
void | deleteFundNode (int fundindex, NlTrack *Track) |
int | getTotalFundNodes (NlTrack *Track) |
int addFundNode | ( | int | useSizeValue, | |
float | size, | |||
int | useRotationValue, | |||
float | rotation, | |||
char | fundType, | |||
int | flags, | |||
float | posX, | |||
float | posY, | |||
float | posZ, | |||
NlTrack * | Track | |||
) |
Add a Fundament Node.
useSizeValue | contains the value, whether their own size to be used | |
size | is the size of the support, if useSizeValue is 1 | |
useRotationValue | contains the value, whether their own rotation to be used | |
rotation | is the x-axis position of the node | |
posX | is the rotation of the support in radian, if rotation is 1. To convert from degree to radian, please use toRad(). | |
posX | is the x-axis position of the node | |
posY | is the y-axis position of the node | |
posZ | is the z-axis position of the node | |
Track | a pointer to the NlTrack |
References FundNode::flags, NlTrack::fundNodes, NlTrack::fundsize, FundNode::fundType, FundNode::posX, FundNode::posY, FundNode::posZ, FundNode::rotation, FundNode::size, NlTrack::totalFundNodes, FundNode::useRotationValue, and FundNode::useSizeValue.
void deleteFundNode | ( | int | fundindex, | |
NlTrack * | Track | |||
) |
References NlTrack::fundNodes, NlTrack::fundsize, and NlTrack::totalFundNodes.
References NlTrack::fundNodes.
int getTotalFundNodes | ( | NlTrack * | Track | ) |
References NlTrack::totalFundNodes.
int modifyFundNode | ( | int | fundindex, | |
int | useSizeValue, | |||
float | size, | |||
int | useRotationValue, | |||
float | rotation, | |||
char | fundType, | |||
int | flags, | |||
float | posX, | |||
float | posY, | |||
float | posZ, | |||
NlTrack * | Track | |||
) |