AnyCAD Rapid API 2024
Help you to create a better world!
载入中...
搜索中...
未找到
HatchHatcher类 参考

Public 成员函数

 HatchHatcher (TopoShape face)
 
TopoShape GetFace ()
 
boolean GetDrawUIso ()
 
void SetDrawUIso (boolean val)
 
long GetNumberUIso ()
 
void SetNumberUIso (long val)
 
boolean GetDrawVIso ()
 
void SetDrawVIso (boolean val)
 
long GetNumberVIso ()
 
void SetNumberVIso (long val)
 
long GetDiscretisation ()
 
void SetDiscretisation (long val)
 
boolean Build ()
 
SceneNode Create (MaterialInstance material)
 
Float32Buffer GetPoints (long idx)
 
long GetUCurveCount ()
 
ParametricCurve GetUCurve (long idx)
 
long GetVCurveCount ()
 
ParametricCurve GetVCurve (long idx)
 
GPntList ComputeIntersectionPoints ()
 

详细描述

<>
面上生成填充线

构造及析构函数说明

◆ HatchHatcher()

HatchHatcher.HatchHatcher ( TopoShape face)

construct the hatcher.

参数
facethe input must be face.

成员函数说明

◆ Build()

boolean HatchHatcher.Build ( )

构造曲线.

返回
true if done.

◆ ComputeIntersectionPoints()

GPntList HatchHatcher.ComputeIntersectionPoints ( )

计算相交的

返回
点列表

◆ Create()

SceneNode HatchHatcher.Create ( MaterialInstance material)

Create visible object.

参数
materialthe material.
返回
the SceneNode could be ShapeSceneNode or PrimitiveSceneNode

◆ GetPoints()

Float32Buffer HatchHatcher.GetPoints ( long idx)

Get the point buffer of line.

参数
idxthe line index.
返回
the buffer.

◆ GetUCurve()

ParametricCurve HatchHatcher.GetUCurve ( long idx)

Get the idx curve, start from 0.

参数
idxthe index.
返回
the curve.

◆ GetUCurveCount()

long HatchHatcher.GetUCurveCount ( )

Get the hatch curve counts.

返回
the number.

◆ GetVCurve()

ParametricCurve HatchHatcher.GetVCurve ( long idx)

Get the idx curve, start from 0.

参数
idxthe index.
返回
the curve.

◆ GetVCurveCount()

long HatchHatcher.GetVCurveCount ( )

Get the hatch curve counts.

返回
the number.