C# Class Net3dBool.Face

显示文件 Open project: dlannan/csg-toolkit Class Usage Examples

Public Properties

Property Type Description
INSIDE int
OPPOSITE int
OUTSIDE int
SAME int
UNKNOWN int
v1 Vertex
v2 Vertex
v3 Vertex

Public Methods

Method Description
Clone ( ) : Face
Face ( Vertex v1, Vertex v2, Vertex v3 ) : System
equals ( Face face ) : bool
getArea ( ) : double
getBound ( ) : Bound
getNormal ( ) : Vector3d
getStatus ( ) : int
invert ( ) : void
rayTraceClassify ( Object3D obj ) : void
simpleClassify ( ) : bool
toString ( ) : String

Private Methods

Method Description
Face ( ) : System
hasPoint ( Point3d point ) : bool
linePositionInX ( Point3d point, Point3d pointLine1, Point3d pointLine2 ) : int
linePositionInY ( Point3d point, Point3d pointLine1, Point3d pointLine2 ) : int
linePositionInZ ( Point3d point, Point3d pointLine1, Point3d pointLine2 ) : int

Method Details

Clone() public method

public Clone ( ) : Face
return Face

Face() public method

public Face ( Vertex v1, Vertex v2, Vertex v3 ) : System
v1 Vertex
v2 Vertex
v3 Vertex
return System

equals() public method

public equals ( Face face ) : bool
face Face
return bool

getArea() public method

public getArea ( ) : double
return double

getBound() public method

public getBound ( ) : Bound
return Bound

getNormal() public method

public getNormal ( ) : Vector3d
return Vector3d

getStatus() public method

public getStatus ( ) : int
return int

invert() public method

public invert ( ) : void
return void

rayTraceClassify() public method

public rayTraceClassify ( Object3D obj ) : void
obj Object3D
return void

simpleClassify() public method

public simpleClassify ( ) : bool
return bool

toString() public method

public toString ( ) : String
return String

Property Details

INSIDE public_oe static_oe property

public static int INSIDE
return int

OPPOSITE public_oe static_oe property

public static int OPPOSITE
return int

OUTSIDE public_oe static_oe property

public static int OUTSIDE
return int

SAME public_oe static_oe property

public static int SAME
return int

UNKNOWN public_oe static_oe property

public static int UNKNOWN
return int

v1 public_oe property

public Vertex,Net3dBool v1
return Vertex

v2 public_oe property

public Vertex,Net3dBool v2
return Vertex

v3 public_oe property

public Vertex,Net3dBool v3
return Vertex