Share

HermiteSurface.Create(Int32, Int32, IList<XYZ>) Method

Create a non-periodic Hermite surface using a net of 3D points as input.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)

Syntax

C#

public static HermiteSurface Create(
	int nU,
	int nV,
	IList<XYZ> points
)

Parameters

nU  Int32
Number of points in U direction.
nV  Int32
Number of points in V direction.
points  IList<XYZ>
Array of points. Must contain nU*nV points.

Return Value

HermiteSurface
A Hermite surface object created from input data.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null
ArgumentsInconsistentException Thrown when the input arguments are inconsistent. The most common case is incorrect number of items in one of the lists.

Remarks

Points form a net of nU * nV 3D points. Suitable defaults will be used for other surface parameters. See other Create() functions if greater control over input is desired.

See Also

Reference

Was this information helpful?