SubDSurfaceAssistant

SurfaceAssistant<1>
SurfaceAssistant implementation for SubD.

Properties

IsReimplementation

Gets whether or not this assistant is a type-safe re-implementation of a more generic assistant.
public bool IsReimplementation { get; }
inherited fromSurfaceAssistant<T>
IsReimplementation

ReimplementationBase

Gets the base assistant (if any) this assistant is a re-implementation of.
public ISurfaceAssistant ReimplementationBase { get; }
inherited fromSurfaceAssistant<T>

Type

Gets the type associated with this assistant.
public Type Type { get; }
inherited fromSurfaceAssistant<T>
Type

Methods

BoundingBox

#
public override BoundingBox BoundingBox(
instance
)

ConvertToBrep

#
public override Brep ConvertToBrep(
instance
)

EvaluateCurvature

#
public override bool EvaluateCurvature(
instance,
locus,
curvature
)

EvaluateNormal

#
public override Vector3d EvaluateNormal(
instance,
locus
)

EvaluatePosition

#
public override Point3d EvaluatePosition(
instance,
locus
)

EvaluateTangent

#
public override Plane EvaluateTangent(
instance,
locus
)

EvaluateUV

#
public override bool EvaluateUV(
instance,
locus,
u,
v
)

Explode

#
public override object[] Explode(
instance
)

ExplodeRecursive

public virtual object[] ExplodeRecursive(
T
instance
)
inherited fromSurfaceAssistant<T>

FindClosestParameter

#
public override SurfaceLocus FindClosestParameter(
instance,
point
)

FlipDirection

#
public override object FlipDirection(
instance
)

IsClosed

#
public override bool IsClosed(
instance
)

IsPlanar

#
public override bool IsPlanar(
instance,
tolerance
)

IsPlanar

#
public override void IsPlanar(
instance,
out Plane
plane,
out double
deviation
)

RiskyButCachedBrepConversion

#
Convert a subd to a brep and cache the result. This makes repeated conversions significantly more efficient, but due to the shared nature of the cache the returned breps MAY NEVER BE MODIFIED. ONLY USE THIS FUNCTION IF YOU ARE 100% SURE YOU WILL NOT MODIFY THE BREP IN ANY WAY, SHAPE, OR FORM. There is also no point in calling this method if you're reasonably sure the given subd will only need to be converted once. This method is all about speeding up repeated conversions.
public static Brep RiskyButCachedBrepConversion(
subd
SubD to convert.
)

Slice

#
public override object[] Slice(
instance,
plane,
tolerance
)