Class FaceReference
- Namespace
- CADability.GeoObject
- Assembly
- CADability.dll
A reference to a face. This is mainly used as a UserData: the Clone method does not clon the face but returns this object, so you won't have an infinite loop when the userdata of a face refers to itself.
public class FaceReference : ICloneable
- Inheritance
-
FaceReference
- Implements
- Inherited Members
Constructors
FaceReference(Face)
Creates a reference to face.
public FaceReference(Face face)
Parameters
faceFacethe face to refer to
Properties
Face
The face this object refers to.
public Face Face { get; }
Property Value
Methods
Clone()
Returns this object itself instead of a copy, so that cloning the user data of a face which refers to itself does not clone the face again (which would recurse forever). Implements Clone().
public object Clone()
Returns
- object
this object