Click or drag to resize
Face Class
A face is a bounded portion of a single geometric surface, the two-dimensional analog of a body. The boundary is represented by one or more loops or edges. Each face is simply connected, implying that one can traverse from any point on the interior of the face to any other point on the interior of the face without crossing the boundary of the face. In general, it is not meaningful to distinguish exterior and interior loops of edges, though for certain surface types this may be possible and some algorithms may do so.
Inheritance Hierarchy

Namespace:  ABB.Robotics.RobotStudio.Stations
Assembly:  ABB.Robotics.RobotStudio.Stations (in ABB.Robotics.RobotStudio.Stations.dll) Version: 7.0.8747.636
Syntax
C#
public sealed class Face : ProjectObject, IHasGeometry

The Face type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Returns a collection of dynamic attributes attached to the object
(Inherited from ProjectObject.)
Public propertyCode exampleBody
Gets the Body that the Face belongs to.
Public propertyChildren
Enumerates all child objects.
(Inherited from ProjectObject.)
Public propertyCode exampleColor
Gets or sets color of the face in the graphics.
Public propertyContainingProject
Returns the Project that this object is a part of, or null if it is not part of a Project.
(Inherited from ProjectObject.)
Public propertyDisplayName
Gets the name of the the object that should be displayed in the GUI.
(Inherited from ProjectObject.)
Public propertyFaceType
Returns the type of the face.
Public propertyCode exampleLoops
Gets the LoopCollection of the Face.
Public propertyName
Gets or sets the name of the object
(Inherited from ProjectObject.)
Public propertyOpacity
Gets or sets the opacity of the face.
Public propertyParent
Returns the objects parent, if it has one.
(Inherited from ProjectObject.)
Public propertyTypeDisplayName
Gets a localized name for the type of this object.
(Inherited from ProjectObject.)
Public propertyUIVisible
Gets or sets a value that indicates if this object should be displayed in GUI such as an object browser.
(Inherited from ProjectObject.)
Public propertyUniqueId
Gets a persisted, globally unique identifier for this object, that can be used to find the object using the GetObjectFromUniqueId(String) method.
(Inherited from ProjectObject.)
Public propertyCode exampleVisible
Gets or sets whether the face is visible or not in the graphics.
Top
Methods
  NameDescription
Public methodStatic memberConnected
Checks whether a set of faces are connected, e.g. form a continous surface.
Public methodEquals (Inherited from Object.)
Public methodCode exampleFindClosestVertex
Returns the Vertex of the Face that is closest to the provided point.
Public methodFindObjects
Recursively finds object that satisfy a condition.
(Inherited from ProjectObject.)
Public methodGetBoundingBox(Boolean)
Computes the (axis-aligned) bounding box for this object.
Public methodGetBoundingBox(Boolean, Vector3, Vector3) Obsolete.
Computes the (axis-aligned) bounding box for this object.
Public methodGetCenterPoint
Returns the center point of a planar surface.
Public methodGetEdges
Returns an array containing the edges of this face.
Public methodGetHashCode (Inherited from Object.)
Public methodGetMaterial
Returns the material used to render this face
Public methodCode exampleGetNormalToSurface
Calculates the closest point and the corresponding normal.
Public methodGetType (Inherited from Object.)
Public methodGetURange
Returns the parameter range of a surface in the u-parameter direction.
Public methodGetVertices
Returns an array containing the vertices of this face.
Public methodGetVRange
Returns the parameter range of a surface in the v-parameter direction.
Public methodNormalizeTextureCoordinates
Public methodCode exampleReverseNormal
Reverses the sense of a face; i.e., makes the face material void (flips the normal). Also, alters the senses of the coedges to avoid changing the shape of the face.
Public methodSetMaterial(Material)
Sets the material of the face.
Public methodSetMaterial(Material, Boolean)
Sets the material of the face.
Public methodSetMaterial(Material, SizeF) Obsolete.
Sets the material of the face and re-scales the texture cooordinates.
Public methodToString (Inherited from ProjectObject.)
Top
Version Information

Supported in: 1.0.0.0
See Also