SilverScreen Solid Modeler

get_endpoints

get_endpoints

Previous topic Next topic  

get_endpoints

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

void get_endpoints ( PRIM_NODE *prim, SS_XYZ *p1, SS_XYZ *p2 )

 

PRIM_NODE *prim;     // primitive node pointer

SS_XYZ    *p1;       // address of 3D point to receive first endpoint

SS_XYZ    *p2;       // address of 3D point to receive second endpoint

 

 




Synopsis

#include "ssnodes.h"

 

The get_endpoints function retrieves the endpoints of the line or arc pointed to by prim .

 

 

Parameters

prim is a primitive node pointer, as obtained by get_prim. p1 and p2 are addresses of 3D points that are to receive the endpoints.

 

 

Return Value

none.

 

 

See Also

get_prim