iCAx开思工具箱

标题: 【求助】如何由三个已知的点,生成面 [打印本页]

作者: yanfang1108    时间: 2004-6-17 10:20
标题: 【求助】如何由三个已知的点,生成面
UG里面生成面的命令都是一个点和一个法向矢量,请问,用什么方法可以由三个点生成面(除了向量积的方法)?
作者: yanfang1108    时间: 2004-6-17 10:53
找到了,uf5374()!3x
作者: acoka    时间: 2004-6-17 11:41
凑了热闹,列部分catial里做面的函数
  
o CreatePlane  
public virtual CATIGSMPlaneEquation_var CreatePlane( const CATICkeParm_var  iA_Coeff,  
  const CATICkeParm_var  iB_Coeff,  
  const CATICkeParm_var  iC_Coeff,  
  const CATICkeParm_var  iD_Coeff) = 0   
  
Creates a iplane from its equation : Ax[$#1839]=D.  
A,B,C are real ivalues, D is a length  
Parameters:  
iA_Coeff  
A coefficient  
iB_Coeff  
B coefficient  
iC_Coeff  
C coefficient  
iD_Coeff  
D coefficient  
Returns:  
CATIGSMPlaneEquation_var created plane.  
See also:  
CATIGSMPlaneEquation, CATICkeParm  
o CreatePlane  
public virtual CATIGSMPlaneOffset_var CreatePlane( const CATISpecObject_var  iPlane,  
  const CATICkeParm_var  iOffset,  
  const CATGSMOrientation  iOrientation) = 0   
  
Creates a iplane which is offset from another iplane.  
iOrientation = TRUE reverses the plane  
Parameters:  
iPlane  
iplane  
iOffset  
offset  
iOrientation  
Orientation  
Returns:  
CATIGSMPlaneOffset_var created plane.  
See also:  
CATIGSMPlaneOffset, CATICkeParm, CATGSMOrientation  
o CreatePlane  
public virtual CATIGSMPlane2Lines_var CreatePlane( const CATISpecObject_var  iFirstLine,  
  const CATISpecObject_var  iSecondLine,  
  int  iCoplanarLines = 0) = 0   
  
Creates a iplane passing through 2 lines.  
Parameters:  
iFirstLine  
first line  
iSecondLine  
second line  
Returns:  
CATIGSMPlane2Lines_var created plane.  
See also:  
CATIGSMPlane2Lines  
o CreatePlane  
public virtual CATIGSMPlane_var CreatePlane( const double*  iPtrRootPoint,  
  const double*  iPtrUVector,  
  const double*  iPtrVVector) = 0   
  
Creates an explicit iplane.  
Parameters:  
iPtrRootPoint  
Coordinates of the center point of the plane (array size 3)  
iPtrUVector  
Components of the first direction of the plane (array size 3)  
iPtrVVector  
Components of the second direction of the plane (array size 3)  
Returns:  
CATIGSMPlane_var created plane  
See also:  
CATIGSMPlane  
o CreatePlane  
public virtual CATIGSMPlaneMean_var CreatePlane( const CATLISTV(CATISpecObject_var)&  iListOfPoints) = 0   
  
Creates a mean iplane through a set of points.  
The points do not necessary lie in this iplane.  
Parameters:  
iListOfPoints  
ListOfPoints  
Returns:  
CATIGSMPlaneMean_var created plane.  
See also:  
CATIGSMPlaneMean  
o CreatePlane  
public virtual CATIGSMPlane1Curve_var CreatePlane( const CATISpecObject_var  iPlanarCurve) = 0   
  
Creates a iplane passing through a planar curve.  
Parameters:  
iPlanarCurve  
planar curve  
Returns:  
CATIGSMPlane1Curve_var created plane.  
See also:  
CATIGSMPlane1Curve  
o CreatePlane  
public virtual CATIGSMPlaneAngle_var CreatePlane( const CATISpecObject_var  iPlane,  
  const CATISpecObject_var  iRotationAxis,  
  const CATICkeParm_var  iAngle,  
  const CATGSMOrientation  iOrientation) = 0   
  
Creates a iplane at an angle to another iplane.  
iAngle is in degrees.  
iOrientation = TRUE reverses the plane  
Parameters:  
iPlane  
reference plane  
iRotationAxis  
rotation axis  
iAngle  
angle  
Returns:  
CATIGSMPlaneAngle_var created plane.  
See also:  
CATIGSMPlaneAngle, CATICkeParm, CATGSMOrientation  
o CreatePlane  
public virtual CATIGSMPlane3Points_var CreatePlane( const CATISpecObject_var  iFirstPoint,  
  const CATISpecObject_var  iSecondPoint,  
  const CATISpecObject_var  iThirdPoint) = 0   
  
Creates a iplane passing through 3 points.  
Parameters:  
iFirstPoint  
first point  
iSecondPoint  
second point  
iThirdPoint  
third point  
Returns:  
CATIGSMPlane3Points_var created plane.  
See also:  
CATIGSMPlane3Points  
o CreatePlane1Line1Pt  
public virtual CATIGSMPlane1Line1Pt_var CreatePlane1Line1Pt( const CATISpecObject_var  iPoint,  
  const CATISpecObject_var  iLine) = 0   
  
Creates a iplane passing through 1 line and 1 point.  
Parameters:  
iPoint  
point  
iLine  
line  
Returns:  
CATIGSMPlane1Line1Pt_var created plane.  
See also:  
CATIGSMPlane1Line1Pt  
o CreatePlaneExplicit  
public virtual CATIGSMPlane_var CreatePlaneExplicit( )= 0   
  
Creates an explicit iplane which has no associative father but only a geometrical output.  
Returns:  
CATISpecObject_var created plane  
See also:  
CATIGSMPlane  
o CreatePlaneNormal  
public virtual CATIGSMPlaneNormal_var CreatePlaneNormal( const CATISpecObject_var  iCurve,  
  const CATISpecObject_var  iPoint =NULL_var) = 0   
  
Creates a iplane normal to a curve at a given point.  
Parameters:  
iCurve  
curve  
iPoint  
point on the curve, where the plane has to be normal. When no point is given, the curve middle point is taken.  
Returns:  
CATIGSMPlaneNormal_var created plane.  
See also:  
CATIGSMPlaneNormal  
o CreatePlaneOffsetPt  
public virtual CATIGSMPlaneOffsetPt_var CreatePlaneOffsetPt( const CATISpecObject_var  iPlane,  
  const CATISpecObject_var  iPoint) = 0   
  
Creates a iplane which is offset from another iplane.  
iOffset is defined by the distance beween teh iplane and a point.  
Parameters:  
iPlane  
reference plane.  
iPoint  
the point through which the plane is to pass.  
See also:  
CATIGSMPlaneOffsetPt  
o CreatePlaneTangent  
public virtual CATIGSMPlaneTangent_var CreatePlaneTangent( const CATISpecObject_var  iSurface,  
  const CATISpecObject_var  iPoint) = 0   
  
Creates a iplane tangent to a surface at a given point.  
Parameters:  
iSurface  
surface  
iPoint  
point  
Returns:  
CATIGSMPlaneTangent_var created plane.  
See also:  
CATIGSMPlaneTangent
作者: xgj045692    时间: 2004-6-17 13:09

作者: xgj045692    时间: 2004-6-17 13:24
一般是在基准面里点第一个看有个图标是三点这样就可以的了
作者: liberty000    时间: 2004-6-17 17:39
晕,把照片传上来干啥,帅么?




欢迎光临 iCAx开思工具箱 (https://t.icax.org/) Powered by Discuz! X3.3