CADability dotNET
The Face type exposes the following members.
Methods
Name | Description | |
---|---|---|
Clone()()()() |
Overrides Clone()()()() (Overrides IGeoObjectImpl..::..Clone()()()().) | |
Clone(Dictionary<(Of <<'(Edge, Edge>)>>)) | ||
Construct | ||
Contains |
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
| |
CopyGeometry |
Overrides CopyGeometry(IGeoObject) (Overrides IGeoObjectImpl..::..CopyGeometry(IGeoObject).) | |
Distance |
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).
| |
FindSnapPoint |
Overrides FindSnapPoint(SnapPointFinder) (Overrides IGeoObjectImpl..::..FindSnapPoint(SnapPointFinder).) | |
Get2DRepresentation | (Overrides IGeoObjectImpl..::..Get2DRepresentation(Projection, GDIResources).) | |
GetBoundingCube |
Overrides GetBoundingCube()()()() (Overrides IGeoObjectImpl..::..GetBoundingCube()()()().) | |
GetExtent(Double) |
Overrides GetExtent(Double) (Overrides IGeoObjectImpl..::..GetExtent(Double).) | |
GetExtent(Projection, ExtentPrecision) |
Overrides GetExtent(Projection, ExtentPrecision) (Overrides IGeoObjectImpl..::..GetExtent(Projection, ExtentPrecision).) | |
GetHashCode |
Internal use only
(Overrides Object..::..GetHashCode()()()().) | |
GetObjectData | (Overrides IGeoObjectImpl..::..GetObjectData(SerializationInfo, StreamingContext).) | |
GetPlaneIntersection |
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.
| |
GetQuadTreeItem | (Overrides IGeoObjectImpl..::..GetQuadTreeItem(Projection, ExtentPrecision).) | |
GetShowProperties |
Overrides GetShowProperties(IFrame) (Overrides IGeoObjectImpl..::..GetShowProperties(IFrame).) | |
GetTriangulation |
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.
| |
GetUVBounds()()()() |
Returnes the minimum and maximum values of coordinates in the parametric space used by this face.
| |
GetUVBounds(Double%, Double%, Double%, Double%) |
Returnes the minimum and maximum values of coordinates in the parametric space used by this face.
| |
HitBoundingCube(BoundingCube) | ||
HitBoundingCube(BoundingCube, BoundingCube) | ||
HitTest(BoundingCube%, Double) |
Overrides HitTest(BoundingCube%, Double) (Overrides IGeoObjectImpl..::..HitTest(BoundingCube%, Double).) | |
HitTest(Projection..::..PickArea, Boolean) | (Overrides IGeoObjectImpl..::..HitTest(Projection..::..PickArea, Boolean).) | |
HitTest(Projection, BoundingRect, Boolean) | (Overrides IGeoObjectImpl..::..HitTest(Projection, BoundingRect, Boolean).) | |
HoleEdges |
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.
| |
MakeFace |
Creates a face by specification of the geometrical surface and the outline in the parametric space
on that surface.
| |
MakePlanarFace |
Creates a face by connecting curves. The objects in bounds must describe a closed border
which may contain some holes.
| |
MakeRegularSurface |
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 | |
Modify |
Overrides Modify(ModOp) (Overrides IGeoObjectImpl..::..Modify(ModOp).) | |
ModifySurface | ||
PaintTo3D |
Overrides PaintTo3D(IPaintTo3D) (Overrides IGeoObjectImpl..::..PaintTo3D(IPaintTo3D).) | |
PaintTo3DList | (Overrides IGeoObjectImpl..::..PaintTo3DList(IPaintTo3D, ICategorizedDislayLists).) | |
Position |
Overrides Position(GeoPoint, GeoVector, Double) (Overrides IGeoObjectImpl..::..Position(GeoPoint, GeoVector, Double).) | |
PrepareDisplayList |
Overrides PrepareDisplayList(Double) (Overrides IGeoObjectImpl..::..PrepareDisplayList(Double).) |