C# Class Net3dBool.Segment

Show file Open project: dlannan/csg-toolkit Class Usage Examples

Public Properties

Property Type Description
EDGE int
FACE int
VERTEX int

Public Methods

Method Description
Clone ( ) : Segment
Segment ( Line line, Face face, int sign1, int sign2, int sign3 ) : System
getEndDistance ( ) : double
getEndPosition ( ) : Point3d
getEndType ( ) : int
getEndVertex ( ) : Vertex
getIntermediateType ( ) : int
getNumEndsSet ( ) : int
getStartDistance ( ) : double
getStartPosition ( ) : Point3d
getStartType ( ) : int
getStartVertex ( ) : Vertex
intersect ( Segment segment ) : bool

Private Methods

Method Description
Segment ( ) : System
setEdge ( Vertex vertex1, Vertex vertex2 ) : bool
setVertex ( Vertex vertex ) : bool
swapEnds ( ) : void

Method Details

Clone() public method

public Clone ( ) : Segment
return Segment

Segment() public method

public Segment ( Line line, Face face, int sign1, int sign2, int sign3 ) : System
line Line
face Face
sign1 int
sign2 int
sign3 int
return System

getEndDistance() public method

public getEndDistance ( ) : double
return double

getEndPosition() public method

public getEndPosition ( ) : Point3d
return Point3d

getEndType() public method

public getEndType ( ) : int
return int

getEndVertex() public method

public getEndVertex ( ) : Vertex
return Vertex

getIntermediateType() public method

public getIntermediateType ( ) : int
return int

getNumEndsSet() public method

public getNumEndsSet ( ) : int
return int

getStartDistance() public method

public getStartDistance ( ) : double
return double

getStartPosition() public method

public getStartPosition ( ) : Point3d
return Point3d

getStartType() public method

public getStartType ( ) : int
return int

getStartVertex() public method

public getStartVertex ( ) : Vertex
return Vertex

intersect() public method

public intersect ( Segment segment ) : bool
segment Segment
return bool

Property Details

EDGE public static property

public static int EDGE
return int

FACE public static property

public static int FACE
return int

VERTEX public static property

public static int VERTEX
return int