Click or drag to resize

SurfaceCurvatureCreateFromSubD Method (SubD, SubDComponentParameter)

Create a SurfaceCurvature by evaluating a SubD's surface (its limit surface) at a surface parameter.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public static SurfaceCurvature CreateFromSubD(
	SubD subd,
	SubDComponentParameter parameter
)

Parameters

subd
Type: Rhino.GeometrySubD
The SubD to evaluate.
parameter
Type: Rhino.GeometrySubDComponentParameter
The surface parameter to evaluate.

Return Value

Type: SurfaceCurvature
A SurfaceCurvature if successful, null otherwise.
Remarks
A SubD limit surface is C1 but generally not C2 exactly on an extraordinary vertex, so it has no curvature there and this returns null. Everywhere else, including throughout the corner quad of an extraordinary vertex, the curvature exists. Use the overload that takes a SubDExtraordinaryVertexCurvature to get an estimate at those vertices instead of nothing. UVPoint is the face corner parameter, since that is what parameterizes a SubD surface. See FaceCornerParameters.
See Also