MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
GEORelated

クラス

class  MGCoons
 Defines Coons Patch surface. [詳解]
 
class  MGCurveContinuity
 Curve continuity measuring class. [詳解]
 
class  MGFPline
 Face's (u,v) parameter value line. [詳解]
 
class  MGFPoint
 MGFPoint is to represent a Face or Surface point. [詳解]
 
class  MGLBRepEndC
 Defines End Condition of Line B-Representation. [詳解]
 
class  MGOscuCircle
 Defines Array of OscuCircle data. [詳解]
 
class  MGOscuCircleData
 The class for MGLBRep constructor of osculating circles. [詳解]
 
class  MGPPRep
 Defines PP-Represetation of a spline. [詳解]
 
class  MGSBRepEndC
 Defines End Condition of Surface B-Representation. [詳解]
 
class  MGSBRepTP
 Defines Tangent Plane Line B-Representation Class. [詳解]
 
class  MGSBRepVecTP
 Defines Tangent Plane Line B-Representation Class. [詳解]
 

列挙型

enum  MGCurveContinuity::CONTINUITY { MGCurveContinuity::DISCONT =-1, MGCurveContinuity::G0 =0, MGCurveContinuity::G1, MGCurveContinuity::G2 }
 enumeration to represent geometric continuity [詳解]
 

関数

MG_DLL_DECLR MGVector eval (const MGFPoint &uv, int ndu=0, int ndv=0)
 Evaluate face's (shell's) point from the MGFPoint. [詳解]
 
MG_DLL_DECLR MGVector normal (const MGFPoint &uv)
 Compute normal vector(not unit) at uv. [詳解]
 
MG_DLL_DECLR MGUnit_vector unit_normal (const MGFPoint &uv)
 Compute unit normal vector at uv. [詳解]
 
MG_DLL_DECLR MGLBRep TP_from_world_curve (const MGSurface &srf, const MGCurve &wcrv, int order, int &error)
 
MG_DLL_DECLR MGLBRep TP_from_parameter_curve (const MGSurface &srf, const MGCurve &pcrv, const MGCurve &wcrv, int order, int &error)
 

詳解

列挙型詳解

enumeration to represent geometric continuity

列挙値
DISCONT 

means not continuous

G0 

means G0 continuity

G1 

means G1 continuity

G2 

means G2 continuity

関数詳解

MG_DLL_DECLR MGVector eval ( const MGFPoint uv,
int  ndu = 0,
int  ndv = 0 
)

Evaluate face's (shell's) point from the MGFPoint.

引数
uvFace point.
ndvOrder of derivative along u and v direction.
MG_DLL_DECLR MGVector normal ( const MGFPoint uv)

Compute normal vector(not unit) at uv.

MG_DLL_DECLR MGLBRep TP_from_parameter_curve ( const MGSurface srf,
const MGCurve pcrv,
const MGCurve wcrv,
int  order,
int &  error 
)

Construct a tangent plane LBRep of a curve pcrv. pcrv is a parameter coordinate curve of a surface srf. wcrv is a target curve that lies on the surface srf, is world coordinate representation of pcrv. Output MGLBRep's parameter is Let f(t) be wcrv whose parameter is t. Then the parameter of this function's output is the same as t. Let g(t) be the output, then g(t)=normal at srf(u,v). where srf(u,v)=f(t). pcrvは接続しようとしている曲面の(u,v)表現による2次元の曲線で、 曲線が2曲線に分かれているような場合、接続して一つの曲線として、 次のwcrvとおなじ範囲を表現する曲線に変換して入力します。 wcrvは4辺面の1辺となる曲線で(x,y,z)の世界座標表現です。

引数
srf接続面
pcrv接続曲線(接続面上のパラメータカーブ)
wcrv接続曲線(世界座標上のカーブ)
order作成するカーブのオーダ
errorエラーコード 0:OK, !=0 error code when constructing LBRep.
MG_DLL_DECLR MGLBRep TP_from_world_curve ( const MGSurface srf,
const MGCurve wcrv,
int  order,
int &  error 
)

Construct a tangent plane LBRep of a curve wcrv. wcrv is a world coordinate curve that lies on a surface srf. TP_from_world_curve is for the users who do not know the parameter representation of wcrv of the surface srf. If you know the parameter representation of wcrv, you should use TP_from_parameter_curve. TP_from_parameter_curve's computation time is much smaller than TP_from_world_curve's. Let f(t) be wcrv whose parameter is t. Then the parameter of this function's output is the same as t. Let g(t) be the output, then g(t)=normal at srf(u,v). where srf(u,v)=f(t).

引数
srf接続面
wcrv接続曲線
order作成するカーブのオーダ
errorエラーコード 0:OK, !=0 error code when constructing LBRep.
MG_DLL_DECLR MGUnit_vector unit_normal ( const MGFPoint uv)

Compute unit normal vector at uv.