Table of Contents

Class Sweptable

Namespace
Hi.Machining
Assembly
HiCbtr.dll

Sweptable geometry.

public class Sweptable : IGetSweptable, IVolumeRemover, IExpandToBox3d, IDisposable
Inheritance
Sweptable
Implements
Inherited Members
Extension Methods

Constructors

Sweptable(Stl, double)

Ctor.

public Sweptable(Stl stl, double nativeTopoStlFractionTolerance)

Parameters

stl Stl

stl

nativeTopoStlFractionTolerance double

Fraction tolerance for native topology STL.

Properties

NativeStl

Get geometry.

public NativeStl NativeStl { get; }

Property Value

NativeStl

geoemtry

NativeTopoStl

Get geometry.

public NativeTopoStld NativeTopoStl { get; }

Property Value

NativeTopoStld

geoemtry

NativeTopoStlfr

Gets the native topology STL with fraction tolerance.

public NativeTopoStlfr NativeTopoStlfr { get; }

Property Value

NativeTopoStlfr

Stl

Gets the STL geometry.

public Stl Stl { get; }

Property Value

Stl

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Dispose(bool)

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

ExpandToBox3d(Box3d)

Expands the destination box. This function is usually used to compute the bounding box of elements.

public void ExpandToBox3d(Box3d dst)

Parameters

dst Box3d

Destination box

GetSweptable(double)

Get Sweptable.

public Sweptable GetSweptable(double fractionTolerance)

Parameters

fractionTolerance double

The fraction tolerance for the sweptable.

Returns

Sweptable

Sweptable

Sweep(Mat4d, Mat4d)

Get swept geometry.

public CachedTris Sweep(Mat4d pre, Mat4d cur)

Parameters

pre Mat4d

previous transform matrix

cur Mat4d

current transform matrix

Returns

CachedTris

Swept geometry

Sweep(Mat4d, double)

Sweep. only available for the geometry that does not contains near point or points on the same line on the same plane.

public CachedTris Sweep(Mat4d cur, double fractionTolerance)

Parameters

cur Mat4d

Current transform matrix

fractionTolerance double

Fraction tolerance for the operation

Returns

CachedTris

Swept geometry as cached triangles