AnyCAD Rapid SDK  2021
The Rapid CAD SDK
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
HatchHatcher Class Reference

Public Member Functions

synchronized void delete ()
 
 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)
 
double GetMaximalParameterValue ()
 
void SetMaximalParameterValue (double 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 ()
 

Protected Member Functions

 HatchHatcher (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (HatchHatcher obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description


HatchHatcher
Make hatch lines for face.

Constructor & Destructor Documentation

HatchHatcher.HatchHatcher ( TopoShape  face)

construct the hatcher.

Parameters
facethe input must be face.

Member Function Documentation

boolean HatchHatcher.Build ( )

Build the lines.

Returns
true if done.
SceneNode HatchHatcher.Create ( MaterialInstance  material)

Create visible object.

Parameters
materialthe material.
Returns
the SceneNode could be ShapeSceneNode or PrimitiveSceneNode
Float32Buffer HatchHatcher.GetPoints ( long  idx)

Get the point buffer of line.

Parameters
idxthe line index.
Returns
the buffer.
ParametricCurve HatchHatcher.GetUCurve ( long  idx)

Get the idx curve, start from 0.

Parameters
idxthe index.
Returns
the curve.
long HatchHatcher.GetUCurveCount ( )

Get the hatch curve counts.

Returns
the number.
ParametricCurve HatchHatcher.GetVCurve ( long  idx)

Get the idx curve, start from 0.

Parameters
idxthe index.
Returns
the curve.
long HatchHatcher.GetVCurveCount ( )

Get the hatch curve counts.

Returns
the number.