C# Class Net3dBool.Solid

Inheritance: Shape3D
ファイルを表示 Open project: dlannan/csg-toolkit Class Usage Examples

Protected Properties

Property Type Description
colors Color3f[]
indices int[]
vertices Point3d[]

Public Methods

Method Description
ApplyMatrix ( Matrix4x4 m ) : void
Solid ( ) : System
Solid ( FileInfo solidFile, Color3f color ) : System
Solid ( Point3d vertices, int indices, Color3f colors ) : System
Solid ( Vector3 vertices, int indices, Color colors ) : System
getColors ( ) : Color3f[]
getIndices ( ) : int[]
getVertices ( ) : Point3d[]
isEmpty ( ) : bool
rotate ( double dx, double dy ) : void
scale ( double dx, double dy, double dz ) : void
setData ( Point3d vertices, int indices, Color3f colors ) : void
setData ( Vector3 vertices, int indices, Color colors ) : void
translate ( double dx, double dy ) : void
zoom ( double dz ) : void

Protected Methods

Method Description
defineGeometry ( ) : void
getMean ( ) : Point3d
loadCoordinateFile ( FileInfo solidFile, Color3f color ) : void
setInitialFeatures ( ) : void

Method Details

ApplyMatrix() public method

public ApplyMatrix ( Matrix4x4 m ) : void
m UnityEngine.Matrix4x4
return void

Solid() public method

public Solid ( ) : System
return System

Solid() public method

public Solid ( FileInfo solidFile, Color3f color ) : System
solidFile System.IO.FileInfo
color Color3f
return System

Solid() public method

public Solid ( Point3d vertices, int indices, Color3f colors ) : System
vertices Point3d
indices int
colors Color3f
return System

Solid() public method

public Solid ( Vector3 vertices, int indices, Color colors ) : System
vertices Vector3
indices int
colors Color
return System

defineGeometry() protected method

protected defineGeometry ( ) : void
return void

getColors() public method

public getColors ( ) : Color3f[]
return Color3f[]

getIndices() public method

public getIndices ( ) : int[]
return int[]

getMean() protected method

protected getMean ( ) : Point3d
return Point3d

getVertices() public method

public getVertices ( ) : Point3d[]
return Point3d[]

isEmpty() public method

public isEmpty ( ) : bool
return bool

loadCoordinateFile() protected method

protected loadCoordinateFile ( FileInfo solidFile, Color3f color ) : void
solidFile System.IO.FileInfo
color Color3f
return void

rotate() public method

public rotate ( double dx, double dy ) : void
dx double
dy double
return void

scale() public method

public scale ( double dx, double dy, double dz ) : void
dx double
dy double
dz double
return void

setData() public method

public setData ( Point3d vertices, int indices, Color3f colors ) : void
vertices Point3d
indices int
colors Color3f
return void

setData() public method

public setData ( Vector3 vertices, int indices, Color colors ) : void
vertices Vector3
indices int
colors Color
return void

setInitialFeatures() protected method

protected setInitialFeatures ( ) : void
return void

translate() public method

public translate ( double dx, double dy ) : void
dx double
dy double
return void

zoom() public method

public zoom ( double dz ) : void
dz double
return void

Property Details

colors protected_oe property

protected Color3f[] colors
return Color3f[]

indices protected_oe property

protected int[] indices
return int[]

vertices protected_oe property

protected Point3d[] vertices
return Point3d[]