ftp.nice.ch/pub/next/developer/objc/api/intuitiv3d_API.s.tar.gz#/i3dApi/Documentation/Functions/Utilities.rtf

This is Utilities.rtf in view mode; [Download] [Up]

 intuitiv'3d API documentation Copyright ©1993 by Cub'x SystÜmes. All Rights Reserved.






Utilities







You can use the following functions when writing new classes for intuitiv'3d:


calcThetamaxBound(), calcThetamaxVolumeBound()

	SUMMARY	This functions calculates the bounding box of an 3d shape that perform a revolution around an axes.


	DECLARED IN	i3d/i3d_api.h


	SYNOPSIS

	void calcThetamaxBound(float radius,float thetamax,RtBound aBox)
	void calcThetamaxVolumeBound(float radius,float thetamax,RtBound aBox)


	DESCRIPTION	This functions fills the bounding box aBox with the bounding box of an object that performs a revolution around the Y axes of thetamax degrees with a radius radius.

CX3DMult3dPoints

	SUMMARY	This function multiplies a array of 3d point by a transformation marix.


	DECLARED IN	i3d/i3d_api.h


	SYNOPSIS

		void CX3DMult3DPoints( RtPoint *in, unsigned int n , RtMatrix t , RtPoint *out )

	DESCRIPTION

	This function multiplies n 3d points pointed by in by the matrix t. The result is stored in out. 
	out and in could be the same.


rotate2d

	SUMMARY	This function performs a rotation of a 2d point.


	DECLARED IN	i3d/i3d_api.h


	SYNOPSIS

	void rotate2d(Point2d *p,float r)

	DESCRIPTION	This function performs a r degrees rotation of the 2d point p around the point { 0, 0 }. 


These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.