Class Face
Last update: 16.07.2025Namespace: VM.CAD.Kernel
Assembly: VM.CAD.Kernel.dll
public class Face : Topology, ITopology, IHasID, ISelected
Inheritance
object ← KernelObject ← Entity ← Topology ← Face
Implements
ITopology, IHasID, ISelected
Inherited Members
Topology.GetTopologyType(UIntPtr), Topology.GetDefaultPoint(), Topology.DisposeManagedResource(), Topology.IsSelected, Topology.ParentBodyKey, Entity.PID, KernelObject.VMK_ARGUMENT_NULL, KernelObject.VMK_ARGUMENT_TYPE, KernelObject.VMK_OK, KernelObject.Dispose(), KernelObject.Execute(Func<int>), KernelObject.GetFrom<TResult>(KernelObject.delGetFrom<TResult>, bool), KernelObject.DisposeManagedResource(), KernelObject.DisposeUnmanagedResource(), KernelObject.Key
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Constructors
Face(UIntPtr, bool)
public Face(UIntPtr key, bool isLock = true)
Parameters
key UIntPtr
isLock bool
Properties
IsCylinder
public bool IsCylinder { get; }
Property Value
IsPlane
public bool IsPlane { get; }
Property Value
IsSphere
public bool IsSphere { get; }
Property Value
Methods
GetCylinderCenterPoint()
public Vector GetCylinderCenterPoint()
Returns
Vector
GetCylinderDirection()
public Vector GetCylinderDirection()
Returns
Vector
GetDefaultPoint()
public override Vector GetDefaultPoint()
Returns
Vector
GetNormalDirection(double, double)
public Vector GetNormalDirection(double u, double v)
Parameters
u double
v double
Returns
Vector
GetPointOnFace(double, double)
public Vector GetPointOnFace(double u, double v)
Parameters
u double
v double
Returns
Vector
GetSphereCenterPoint()
public Vector GetSphereCenterPoint()
Returns
Vector
IsFace(UIntPtr)
public static bool IsFace(UIntPtr key)
Parameters
key UIntPtr