CADability dotNET

The Face type exposes the following members.

Constructors

  NameDescription
Protected methodFace()()()()
Protected methodFace(SerializationInfo, StreamingContext)
Constructor required by deserialization

Methods

  NameDescription
Public methodClone()()()()
Overrides Clone()()()()
(Overrides IGeoObjectImpl..::..Clone()()()().)
Public methodClone(Dictionary<(Of <<'(Edge, Edge>)>>))
Public methodStatic memberConstruct
Public methodContains
Checks whether the provided 2d point in the parameter space of the surface is inside the bounds of this face. If the surface is periodic then it will also be checked whether the point with its periodic offset is contained in the face. In this case, the 2d coordinates of the point are updated to reflect the correct period in which it is inside the face
Public methodCopyGeometry (Overrides IGeoObjectImpl..::..CopyGeometry(IGeoObject).)
Public methodDistance
Returns the smallest distance from the provided point to the face. It will be the distance to a perpendicular footpoint on the face. If there is no such perpendicular footpoint double.MaxValue will be returned. This method does not compute the distance to edges or vertices. If you need those distances use PositionOf(GeoPoint) and PointAt(Double).
Public methodFindSnapPoint (Overrides IGeoObjectImpl..::..FindSnapPoint(SnapPointFinder).)
Public methodGet2DRepresentation (Overrides IGeoObjectImpl..::..Get2DRepresentation(Projection, GDIResources).)
Public methodGetBoundingCube (Overrides IGeoObjectImpl..::..GetBoundingCube()()()().)
Public methodGetExtent(Double) (Overrides IGeoObjectImpl..::..GetExtent(Double).)
Public methodGetExtent(Projection, ExtentPrecision) (Overrides IGeoObjectImpl..::..GetExtent(Projection, ExtentPrecision).)
Public methodGetHashCode
Internal use only
(Overrides Object..::..GetHashCode()()()().)
Public methodGetObjectData (Overrides IGeoObjectImpl..::..GetObjectData(SerializationInfo, StreamingContext).)
Public methodGetPlaneIntersection
Returns the curves that result from a planar intersection of this face with the provided plane. The curves are clipped to the outline (and holes) of the face.
Public methodGetQuadTreeItem (Overrides IGeoObjectImpl..::..GetQuadTreeItem(Projection, ExtentPrecision).)
Public methodGetShowProperties (Overrides IGeoObjectImpl..::..GetShowProperties(IFrame).)
Public methodGetTriangulation
Returns the triangulation of this face to the provided precision. trianglePoint and triangleUVPoint are two arrays of the same length specifying the vertices of the triangle in 3d or 2d surface coordinates. triangleIndex is a list of indizes to trianglePoint and triangleUVPoint where each triple of indices describes one triangle. The length of triangleIndex is a multiple of 3.
Public methodGetUVBounds()()()()
Returnes the minimum and maximum values of coordinates in the parametric space used by this face.
Public methodGetUVBounds(Double%, Double%, Double%, Double%)
Returnes the minimum and maximum values of coordinates in the parametric space used by this face.
Public methodHitBoundingCube(BoundingCube)
Public methodHitBoundingCube(BoundingCube, BoundingCube)
Public methodHitTest(BoundingCube%, Double) (Overrides IGeoObjectImpl..::..HitTest(BoundingCube%, Double).)
Public methodHitTest(Projection..::..PickArea, Boolean) (Overrides IGeoObjectImpl..::..HitTest(Projection..::..PickArea, Boolean).)
Public methodHitTest(Projection, BoundingRect, Boolean) (Overrides IGeoObjectImpl..::..HitTest(Projection, BoundingRect, Boolean).)
Public methodHoleEdges
Returns all edges that belong to the hole with the provided index. The order of the edges is counterclockwise when you look at the face from the outside.
Public methodStatic memberMakeFace
Creates a face by specification of the geometrical surface and the outline in the parametric space on that surface.
Public methodStatic memberMakePlanarFace
Creates a face by connecting curves. The objects in bounds must describe a closed border which may contain some holes.
Public methodMakeRegularSurface
PRELIMINARY! Tries to use a more simple surface for this face. E.g. a NurbsSurface will be reduced to a torodial surface if the data allows it. The followind replacements are currently performed NurbsSurface -> PlanarSurfaceNurbsSurface -> TorodialSurfacein work:NurbsSurface -> CylindricalSurfaceNurbsSurface -> SphericalSurfaceNurbsSurface -> ConicalSurfaceSurfaceOfRevolution -> CylindricalSurfaceSurfaceOfRevolution -> TorodialSurfaceSurfaceOfRevolution -> ConicalSurfaceSurfaceOfLinearExtrusion -> PlanarSurfaceSurfaceOfLinearExtrusion -> CylindricalSurface
Public methodModify
Overrides Modify(ModOp)
(Overrides IGeoObjectImpl..::..Modify(ModOp).)
Public methodModifySurface
Public methodPaintTo3D (Overrides IGeoObjectImpl..::..PaintTo3D(IPaintTo3D).)
Public methodPaintTo3DList (Overrides IGeoObjectImpl..::..PaintTo3DList(IPaintTo3D, ICategorizedDislayLists).)
Public methodPosition (Overrides IGeoObjectImpl..::..Position(GeoPoint, GeoVector, Double).)
Public methodPrepareDisplayList (Overrides IGeoObjectImpl..::..PrepareDisplayList(Double).)

Fields

Properties

  NameDescription
Public propertyAllEdges
Returns all edges that surround this face (also the holes in this face)
Public propertyArea
Returns the twodimensional shape of the outline of this face in the parametric (u/v) space of the surface.
Public propertyColorDef
Public propertyDescription (Overrides IGeoObjectImpl..::..Description.)
Public propertyHoleCount
Gets the number of holes in this face.
Public propertyOrientedOutward
Returns the orientation of this face. this is only meaningful if this face is part of a closed shell which defines a solid. If true, the normal vector of the surface of this face points outward of the solid, if false it points into the inside.
Public propertyOutlineEdges
Gets all edges that represent the outline of this face (not the holes). The order of the edges is counterclockwise when you look at the face from the outside.
Public propertyOwnedItems (Overrides IGeoObjectImpl..::..OwnedItems.)
Public propertyPreferredStyle (Overrides IGeoObjectImpl..::..PreferredStyle.)
Public propertySurface
Returns the geometrical surface on which this face resides.
Public propertyVertices

Explicit Interface Implementations

See Also