RFPointTools.Triangulate2D



Your Ad Here

Description

Creates faces connecting vertices in a specified shell with satisfying specified parameters, and returns an RFErrorCode value indicating whether an error occurs.

Syntax

Function RFPointTools.Triangulate2D(shellID As RFEntityID, direction As RFTriangulateDirection, length As Double, area As Double, ratio As Double, angle As Double) As RFErrorCode

The Triangulate2D syntax has these parts:

Part Description
shellID [INRFEntityID Required. Shell's RFEntityID to triangulate.
direction [INRFTriangulateDirection Required. Triangulation direction by which vertices are projected.
length [INDouble Required. Edge length criterion. If a created face has an edge whose length is greater than this value, the face is not added to the shell.
area [INDouble Required. Face area criterion. If the area of a created face is greater than this value, the face is not added to the shell.
ratio [INDouble Required. Max-min edge length criterion. If the longest edge/the shortest edge ratio of a created face is greater than this value, the face is not added to the shell.
angle [INDouble Required. Angle criterion. If the angle between the projection direction and the normal vector of a created face is greater than this value, the face is not added to the shell.

Remarks

 

Return to Rapidform Index


Your Ad Here