#include "MGCLStdAfx.h" /********************************************************************/ /* Copyright (c) 2017 System fugen G.K. and Yuzi Mizuno */ /* All rights reserved. */ /********************************************************************/ #include "cskernel/blipp.h" void blibp_(int k, int n, double *t, double *rcoef, int irc, double *g, double error, double ts, int mx, double *work, double *rcoefx, int *nx, double *x, int *iend) { /* Builtin functions */ double sqrt(double); /* Local variables */ double d; int i; double gl[4]; /* BLIBP WILL GET ALL PARAMETER VALUES X(I),I=1,NX, OF INTERSECTION */ /* POINTS OF A PLANE WITH B-REP. */ /* *** INPUT * */ /* K,N,T(N+K),RCOEF(IRC,3),IRC....PROVIDE 3-D SPACE DIMENSION B-REP. */ /* G(4)...........EXPRESS THE PLANE AS BELOW: */ /* G(1)*X+G(2)*Y+G(3)*Z=G(4) */ /* ERROR ALLOWABLE ERROR VALUE TO GET INTERSECTION POINTS */ /* TS.............START PARAM VALUE OF INTERSECTION COMPUTATION, */ /* I.E. X(I) > TS FOR 1<=I<=NX