DG Kernel Documentation


Skip Navigation Links. Skip Navigation LinksHome Page > API Reference > Model > Entities > Geometry > BSpline BRep Geometry > IBRepFace_DG

IBRepFace_DG Interface

GetSurface
SetSurface
IsSurfaceReversed
GetWireCount
GetWire
AddWire
AddWire1
AddNewWire
RemoveWire
GetWires
GetEdges
GetVertices
IsTrimmed
GetParameterRange
GetRatiosAt
GetParametersAtRatios
GetPointAtRatios
GetNormalAtRatios
GetVertexUV
GetEdgeUV

IUVSurface_DG GetSurface()


void SetSurface(IUVSurface_DG surface)


bool IsSurfaceReversed()

Returns true if orientation of surface of this face (as returned by GetSurface()) is opposite to orientation of this. For closed shapes it means in most cases that normal defined by the surface is internal (which is opposite to the conventional outward direction of a face normal).


int GetWireCount()


IBRepWire_DG GetWire(int index)

Returns a wire. The first wire (index 0) is external wire in Counter Clock Wise direction on positive side of the face. The rest of wires represent holes and have Clock Wise direction.


void AddWire(IBRepWire_DG wire)


void AddWire1(I2DPointArray_DG uvLoop, IBRepWire_DG wire)


IBRepWire_DG AddNewWire()


void RemoveWire(IBRepWire_DG wire)


IShapeArray_DG GetWires()


IShapeArray_DG GetEdges()


IShapeArray_DG GetVertices()


bool IsTrimmed()


void GetParameterRange(bool u, double min, double max)


DG2D GetRatiosAt(DG2D uv)


DG2D GetParametersAtRatios(DG2D ratios)


bool GetPointAtRatios(DG2D ratios, Point_DG pt)


bool GetNormalAtRatios(DG2D ratios, Vect_DG normal)


DG2D GetVertexUV(IBRepVertex_DG vertex)


DG2D GetEdgeUV(IBRepEdge_DG edge, double ratioAlongEdge)