Dimension Radius Functions

Functions:

MTK_Object_DimensionRadius_GetAttributes

int MTK_Object_DimensionRadius_GetAttributes(
			MTK_Object* obj,
			char* label, double* tickGap,
			double* tickOffset, double* tickExtentSize,
			double* arrowLength, double* arrowWidth
			);
		

Description

Get the attributes of a dimension radius object.

Parameters

obj

pointer to an MTK_Object struct

label

buffer of length MTK_BUFFER_SIZE to receive the label of the dimension radius (char*)

tickGap

the tick gap (double*)

tickOffset

the tick offset (double*)

tickExtentSize

the tick extent size (double*)

arrowLength

the length of the arrow head (double*)

arrowWidth

the width of the arrow head (double*)

Return Value

0

success

other

failure

MTK_Object_DimensionRadius_GetEnd

int MTK_Object_DimensionRadius_GetEnd(
			MTK_Object* obj,
			double* x, double* y, double* z
			);
		

Description

Get the end location of a dimension radius object.

Parameters

obj

pointer to an MTK_Object struct

x

end x value (double*)

y

end y value (double*)

z

end z value (double*)

Return Value

0

success

other

failure

MTK_Object_DimensionRadius_GetNormal

int MTK_Object_DimensionRadius_GetNormal(
			MTK_Object* obj,
			double* x, double* y, double* z
			);
		

Description

Get the normal of a dimension radius object.

Parameters

obj

pointer to an MTK_Object struct

x

normal x value (double*)

y

normal y value (double*)

z

normal z value (double*)

Return Value

0

success

other

failure

MTK_Object_DimensionRadius_GetStart

int MTK_Object_DimensionRadius_GetStart(
			MTK_Object* obj,
			double* x, double* y, double* z
			);
		

Description

Get the start location of a dimension radius object.

Parameters

obj

pointer to an MTK_Object struct

x

start x value (double*)

y

start y value (double*)

z

start z value (double*)

Return Value

0

success

other

failure

MTK_Object_DimensionRadius_SetAttributes

int MTK_Object_DimensionRadius_SetAttributes(
			MTK_Object* obj,
			const char* label, const double& tickGap,
			const double& tickOffset, const double& tickExtentSize,
			const double& arrowLength, const double& arrowWidth
			);
		

Description

Set the attributes of a dimension radius object.

Parameters

obj

pointer to an MTK_Object struct

label

the label of the dimension radius (const char*)

tickGap

the tick gap (double)

tickOffset

the tick offset (double)

tickExtentSize

the tick extent size (double)

arrowLength

the length of the arrow head (double)

arrowWidth

the width of the arrow head (double)

Return Value

0

success

other

failure

MTK_Object_DimensionRadius_SetEnd

int MTK_Object_DimensionRadius_SetEnd(
			MTK_Object* obj,
			const double& x,
			const double& y,
			const double& z
			);
		

Description

Set the end location of a dimension radius object.

Parameters

obj

pointer to an MTK_Object struct

x

end x value (double)

y

end y value (double)

z

end z value (double)

Return Value

0

success

other

failure

MTK_Object_DimensionRadius_SetNormal

int MTK_Object_DimensionRadius_SetNormal(
			MTK_Object* obj,
			const double& x,
			const double& y,
			const double& z
			);
		

Description

Set the normal of a dimension radius object.

Parameters

obj

pointer to an MTK_Object struct

x

normal x value (double)

y

normal y value (double)

z

normal z value (double)

Return Value

0

success

other

failure

MTK_Object_DimensionRadius_SetStart

int MTK_Object_DimensionRadius_SetStart(
			MTK_Object* obj,
			const double& x,
			const double& y,
			const double& z
			);
		

Description

Set the start location of a dimension radius object.

Parameters

obj

pointer to an MTK_Object struct

x

start x value (double)

y

start y value (double)

z

start z value (double)

Return Value

0

success

other

failure