SurfaceCreatePatchSurface(PathRef,
ObjectIdCollection, Int32, Double, Boolean)
Method
|
Creates a patch surface that fills a specified
boundary and includes it in the current database.
Namespace: Teigha.DatabaseServices
Assembly: TD_Mgd (in TD_Mgd.dll) Version:
27.3.0.0
Syntax
public static ObjectId CreatePatchSurface(
PathRef crossSections,
ObjectIdCollection constraintIds,
int continuity,
double bulgeMagnitude,
bool associativeEnabled
)
Public Shared Function CreatePatchSurface (
crossSections As PathRef,
constraintIds As ObjectIdCollection,
continuity As Integer,
bulgeMagnitude As Double,
associativeEnabled As Boolean
) As ObjectId
public:
static ObjectId CreatePatchSurface(
PathRef^ crossSections,
ObjectIdCollection^ constraintIds,
int continuity,
double bulgeMagnitude,
bool associativeEnabled
)
static member CreatePatchSurface :
crossSections : PathRef *
constraintIds : ObjectIdCollection *
continuity : int *
bulgeMagnitude : float *
associativeEnabled : bool -> ObjectId
Parameters
- crossSections PathRef
- [in] Boundary path that the patch surface fills.
- constraintIds ObjectIdCollection
- [in] Object IDs of point or curve entities to constrain the
patch surface.
- continuity Int32
- [in] Continuity type (0 = G0 position, 1 = G1 tangent, 2 = G2
curvature).
- bulgeMagnitude Double
- [in] Bulge magnitude of the patch surface.
- associativeEnabled Boolean
- [in] Indicates whether patch surface associativity is
enabled.
Return Value
ObjectId
Object identifier of the created patch surface.
See Also